By: nobody ( Nobody/Anonymous )
Help running mjbWorld
2003-08-22 10:11 |
Hi!
I just installed mjbWorld (mjbWorld_jogl_runtime_517.zip) and I'm trying
to run some examples, aplication window opens
I choosed "paramters only" and try to load box.wrl.
... and nothing happens, nothing on tree view.
On console window prints long message witch start like this : java.lang.NoClassDefFoundError:
net/java/games/jogl/GL
( I have Windows 2000, java 1.4.2, java3D 1.3.1)
please help
Karol |
By: martinbaker ( Martin Baker
)
RE: Help running mjbWorld
2003-08-22 15:33 |
Hi
Karol,
Sorry, this is the first release where I have used JOGL instead of Java3D
and so I dont have much experience of using it yet.
Since I received you message I have been doing some tests and I found
that the jogl.dll file needs to be copied to the library path. (I originally
thought that it was good enough to have it in the same directory as the
program) In my case this is in the C:\j2sdk1.4.0_01\jre\lib\ext directory,
do you have lib/ext subdirectories where you have installed Java? If so
please could you try copying jogl.dll there?
I am not sure this is the error that you are seeing as I got the error:
java.lang.UnsatisfiedLinkError: no jogl in java.library.path
but I have not been able to reproduce the error that you got.
If this does not work you could try coping the jogl.dll and jogl.jar files
into the following subdirectories under the directory where the sdk or
jre is installed.
Win32
Jre/bin/ : jogl.dll
Jre/lib/ext/ : jogl.jar
Linux:
Jre/lib/i386/ : libjogl.so
Jre/lib/ext/ : jogl.jar
(Usually JAVA_HOME points to /bin/usr/lib/java2/ )
Please let me know how you get on, sorry about these problems.
Martin |
By: nobody ( Nobody/Anonymous )
Help running mjbWorld
2003-08-25 10:39
I copied jogl.jar to /lib/ext/ and it started to work, thanks
Karol