Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (406)
games submitted by our members
Games in WIP (293)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  What is going on?  It used to work now it doesn't  (Read 1388 times)
0 Members and 1 Guest are viewing this topic.
Offline Virum

Junior Member




Like a leaf in an icy world, memories will fade


« Posted 2003-03-09 22:03:31 »

Alright I unzipped lwjgl-0.4.zip here:

D:\Programs\lwjgl-0.4

Set my path there.  Everything worked super.  Compileing running, etc. from commandline.  I had java 1.4.0

My friend downloads it too, does the same thing I did.  It didn't work for him.  He had java 1.4.1

I upgraded to java 1.4.1  It no longer works.  I've set the classpath to the jar and it still doesn't what the heck do I do?

It's time to prove to your friends that your worth a damn. Sometimes that means dying; sometimes that means killing a whole lotta people.

Blog
Offline princec
« League of Dukes »

JGO Kernel


Medals: 196
Projects: 3


Eh? Who? What? ... Me?


« Reply #1 - Posted 2003-03-09 22:27:48 »

Dunno, I've been running 1.4.1 since it was in beta without any troubles. By "doesn't work" what do you actually mean? Got an exception to show us?

Cas Smiley

Offline Virum

Junior Member




Like a leaf in an icy world, memories will fade


« Reply #2 - Posted 2003-03-09 23:08:21 »

It can't find the package org.lwjgl

What are your path classpath settings?  I'm on windows 2000

It's time to prove to your friends that your worth a damn. Sometimes that means dying; sometimes that means killing a whole lotta people.

Blog
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Harley Rana

Junior Member




Java games rock!


« Reply #3 - Posted 2003-03-10 00:05:30 »

Not sure if it helps. In eclipes i add lwjgl.jar to java build path > libraries.  and put lwjgl.jar + lwjgl.dll in the root directory of the project.

lwjgl.jar needs to be in the class path, and lwjgl.dll in the project directory.

Offline Micke

Senior Newbie




Yada-yada


« Reply #4 - Posted 2003-03-10 07:23:38 »

You didn't by any chance add the lwjgl.jar to the exensions in JDK1.4.0 so it finds it whatever you do to the classpath, but not in 1.4.1  (The classpath, by the way, seems to be missing in you description of what you do to make it work)

/M
Offline princec
« League of Dukes »

JGO Kernel


Medals: 196
Projects: 3


Eh? Who? What? ... Me?


« Reply #5 - Posted 2003-03-10 08:41:14 »

In all the years I've been programming in Java for some reason I've never come across a CLASSPATH variable, so I'm reasonably confident that most other folks should be able to live without it too...

Cas Smiley

Offline Virum

Junior Member




Like a leaf in an icy world, memories will fade


« Reply #6 - Posted 2003-03-10 14:18:19 »

Could someone please tell me how they set up LWJGL step by step?

I unzipped it to D:\Programs\lwjgl-0.4\ (dlls jars here)

I added a value to the PATH varaible to that directory.  Compiling and running worked for every program (with just the path and everything in the above folder) until I upgraded to 1.4.1_02 from 1.4.0.

Here are my variables:

CLASSPATH: .Grin:\j2sdk1.4.1_02\LIB\TOOLS.JAR;D:\j2sdk1.4.1_02;  (I also had another value pointing LWJGL.jar but that didn't help)


(condensed)PATH: D:\j2sdk1.4.1_02\bin;D:\Programs\lwjgl-0.4

(complete)PATH: C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Microsoft Visual Studio\VC98\bin;D:\j2sdk1.4.1_02\bin;D:\Programs\lwjgl-0.4

It used to work with just the path, why won't it now?

It's time to prove to your friends that your worth a damn. Sometimes that means dying; sometimes that means killing a whole lotta people.

Blog
Offline Virum

Junior Member




Like a leaf in an icy world, memories will fade


« Reply #7 - Posted 2003-03-10 14:19:39 »

Drat the smileys

It's time to prove to your friends that your worth a damn. Sometimes that means dying; sometimes that means killing a whole lotta people.

Blog
Offline cfmdobbie

Senior Member




Who, me?


« Reply #8 - Posted 2003-03-10 15:25:32 »

In that fragment above you haven't got the lwjgl.jar in your classpath.  (I know you can live without using classpaths and such, but I prefer to keep all my applications seperate from the JRE installation so upgrades don't break things Grin)

Also, you'll need to tell Java where the lwjgl.dll is - my preferred solution is to mention it on execution as in "-Djava.library.path=<path to dll>"

Hellomynameis Charlie Dobbie.
Offline Virum

Junior Member




Like a leaf in an icy world, memories will fade


« Reply #9 - Posted 2003-03-10 21:48:46 »

I have it working now. Thanks

It's time to prove to your friends that your worth a damn. Sometimes that means dying; sometimes that means killing a whole lotta people.

Blog
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Browse for soundtracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (84 views)
2013-05-17 21:29:12

alaslipknot (92 views)
2013-05-16 21:24:48

gouessej (124 views)
2013-05-16 00:53:38

gouessej (117 views)
2013-05-16 00:17:58

theagentd (127 views)
2013-05-15 15:01:13

theagentd (114 views)
2013-05-15 15:00:54

StreetDoggy (158 views)
2013-05-14 15:56:26

kutucuk (180 views)
2013-05-12 17:10:36

kutucuk (180 views)
2013-05-12 15:36:09

UnluckyDevil (187 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.132 seconds with 20 queries.