All pastes #422052 Raw Edit

Mine

public text v1 · immutable
·published 2007-04-03 06:47 UTC
rendered paste body
JoGL Install howto.



In this directory: 

 Directory of C:\Documents and Settings\user\My Documents\download\JavaStuff

04/02/2007  09:22 PM    <DIR>          .
04/02/2007  09:22 PM    <DIR>          ..
04/02/2007  09:22 PM    <DIR>          Lesson01
04/02/2007  08:41 PM             6,748 lesson01.jar
04/02/2007  09:57 AM             5,874 lesson01LWOGL.jar
               3 Dir(s)   4,737,183,744 bytes free




I get errors like:

C:\Documents and Settings\user\My Documents\download\JavaStuff>java -cp jogl.jar -Djava.library.path=c:\progra~1\java\jogl\lib Lesson01
Exception in thread "main" java.lang.NoClassDefFoundError: Lesson01

C:\Documents and Settings\user\My Documents\download\JavaStuff>java lesson01
Exception in thread "main" java.lang.NoClassDefFoundError: lesson01

C:\Documents and Settings\user\My Documents\download\JavaStuff>java -jar lesson01.jar
Unable to access jarfile lesson01.jar

C:\Documents and Settings\user\My Documents\download\JavaStuff>cd Lesson01

 Directory of C:\Documents and Settings\user\My Documents\download\JavaStuff\Leson01

04/02/2007  09:22 PM    <DIR>          .
04/02/2007  09:22 PM    <DIR>          ..
09/04/2003  08:45 PM               381 Lesson01$1.class
09/04/2003  08:45 PM             1,663 Lesson01$Renderer.class
09/04/2003  08:45 PM             1,114 Lesson01.class
09/04/2003  08:45 PM               364 Lesson01.jar
09/04/2003  08:45 PM             4,634 Lesson01.java
07/16/2003  02:51 PM             4,606 Lesson01.java~
09/04/2003  08:46 PM    <DIR>          META-INF
07/16/2003  02:53 PM               206 README.TXT
               7 File(s)         12,968 bytes
               3 Dir(s)   4,737,183,744 bytes free

C:\Documents and Settings\user\My Documents\download\JavaStuff\Lesson01>java Lesson01
Exception in thread "main" java.lang.NoClassDefFoundError: net/java/games/jogl/G
LEventL


My path/CLASSPATH Stuff:

C:\Documents and Settings\user\My Documents\download\JavaStuff\Lesson01>set
CLASSPATH=.;C:\Program Files\Java\jogl\lib\jogl.jar;C:\Program Files\Java\jogl\l
ib\gluegen-rt.jar
Path=C:\TEMP\Ada95\GNAT\bin;C:\Program Files\MiKTeX 2.5\ztc;C:\Program Files\MiK
TeX 2.5\miktex\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\pr
ogram files\gnuarm\bin;C:\Program Files\Common Files\GTK\2.0\bin;C:\Program File
s\Vim\vim70;C:\Program Files\Samsung\Samsung PC Studio 3\;C:\Program Files\Java\
jogl\lib


C:\1>dir
 Volume in drive C has no label.
 Volume Serial Number is 2800-9426

 Directory of C:\1

04/02/2007  10:26 PM    <DIR>          .
04/02/2007  10:26 PM    <DIR>          ..
04/02/2007  08:41 PM             6,748 Lesson01.jar
               1 File(s)          6,748 bytes
               2 Dir(s)   4,737,134,592 bytes free

C:\1>"c:\Program Files\Java\jdk1.5.0_09\jre\bin\java" -jar Lesson01.jar
Exception in thread "main" java.lang.NoClassDefFoundError: net/java/games/jogl/G
LEventListener

C:\1>java -jar Lesson01.jar
Exception in thread "main" java.lang.NoClassDefFoundError: net/java/games/jogl/GLEventListener