问题
I need to import the javax.media.opengl.*
package. From Java OpenGL Wiki to http://jogamp.org/, I am sort of confused which download I need. There is a long list of build downloads here, but they are all .7z files and I am looking for a download usable for a Windows XP 32-bit machine.
回答1:
You only need two packages for java OpenGL:
jogl.all.jar -> this contains javax.media.opengl.
gluegen-rt.jar -> this contains com.jogamp.opengl.
Both of which are in here: jogamp-all-platforms.7z
http://jogamp.org/deployment/jogamp-current/archive/
Edit They seem to have reorganized their site. I updated the link.
回答2:
This answer is outdated. JOGL has changed the package name.
javax.media.opengl
is now com.jogamp.opengl
be aware if you have an old project and you try to get the latest library version.
回答3:
The 7z
archive format can be extracted with 7-zip, which is available on Windows.
来源:https://stackoverflow.com/questions/7210194/where-can-i-find-the-package-javax-media-opengl