COMPUTER SYSTEMS RESEARCH
JOGL Example programs
- Jim Chen's (GMU) version
install JOGL
- (my version) Install JOGL
- JOGL (scroll down for downloads)
- jogl-1.1.1-rc7-linux-i586.zip
What I did to install on linux:
- Create a JOGL directory, save the above zip file into this directory
- Unzip this file, creating a directory: jogl-1.1.1-rc7-linux-i586
- The necessary library files are in the directory lib in this directory
- Create a myprogs directory in your JOGL directory
- Compile:
javac -classpath ../jogl-1.1.1-rc7-linux-i586/lib/jogl.jar:../jogl-1.1.1-rc7-linux-i586/lib/gluegen-rt.jar:. File.java
- Run:
java -classpath ../jogl-1.1.1-rc7-linux-i586/lib/jogl.jar:../jogl-1.1.1-rc7-linux-i586/lib/gluegen-rt.jar:. -Djava.library.path=../jogl-1.1.1-rc7-linux-i586/lib File
- javacjogl shell script: ./javacjogl File.java
- javajogl shell script: ./javajogl File
- chmod 755 javacjogl, chmod 755 javajogl
- For Windows, sample batch files:
javacjogl.bat and
javajogl.bat
- JavaDia.java and
JavaRenderer.java from
jogl on wikipedia
- Programs from Foundations of 3D Graphics Programming Using JOGL and Java3D by Jim X. Chen