Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (498)
Games in Android Showcase (115)
games submitted by our members
Games in WIP (562)
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 1718 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 21: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

JGO Kernel


Medals: 378
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #1 - Posted 2003-03-09 21: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 22: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-09 23: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 06: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

JGO Kernel


Medals: 378
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #5 - Posted 2003-03-10 07: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 13: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 13: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


Medals: 1


Who, me?


« Reply #8 - Posted 2003-03-10 14: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 20: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.

 

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

The first screenshot will be displayed as a thumbnail.

BurntPizza (21 views)
2014-09-21 02:42:18

BurntPizza (15 views)
2014-09-21 01:30:30

moogie (18 views)
2014-09-21 00:26:15

UprightPath (25 views)
2014-09-20 20:14:06

BurntPizza (27 views)
2014-09-19 03:14:18

Dwinin (42 views)
2014-09-12 09:08:26

Norakomi (73 views)
2014-09-10 13:57:51

TehJavaDev (97 views)
2014-09-10 06:39:09

Tekkerue (49 views)
2014-09-09 02:24:56

mitcheeb (70 views)
2014-09-08 06:06:29
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!