HELP! Setting up JOGL

I've tried posting on the JOGL forum but I need help asap so I decided to post here too...

I am on Windows XP and use TextPad to write my java code.

I have jogl.jar and the .dll's in C:\jogl\

I have added C:\jogl\jogl.jar to CLASSPATH

When i do System.out.println(System.getProperty("java.library.path")); C:\jogl\ is listed (so I assume that Java can find it)

But I cannot compile anything because it won't let me do - import net.java.games.jogl.*;

I just get

"C:\jogl\JOGL2DBasics.java:6: package net.java.games.jogl does not exist

import net.java.games.jogl.*;"

Please please please could somebody help, I just don't know what I'm doing wrong!

Thanks

[725 byte] By [CliveTheBadgera] at [2007-10-2 4:04:59]
# 1

Hey there,

I had a lot of trouble with this too. I also am on Windows XP, but I use Eclipse to write my java. When I finally got it to work, I noted how I did so. Here it is:

Put the following files in your current jre's bin folder (e.g. C:\Program Files\Java\jre1.5.0_03\bin\)

- jogl.dll

- jogl_cg.dll

These 2 dll files are found in the jogl-natives-win32.jar file

Put the following file in the folder "\lib\ext\" of your current jre:

- jogl.jar

Once I did this, I did not need to add anything to the CLASSPATH. All I have to do is type "import net.java.games.jogl.*" or the like.

Hope this helps!

- Isaac

isaacIsMyNamea at 2007-7-15 23:27:36 > top of Java-index,Other Topics,Java Game Development...