Where can I find the package javax.media.opengl?

杀马特。学长 韩版系。学妹 提交于 2019-12-09 00:25:56

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!