Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 918
O_O Avatar asked Aug 26 '11 20:08

O_O


3 Answers

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.

like image 35
Ned Bingham Avatar answered Oct 23 '22 15:10

Ned Bingham


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.

like image 141
Edgar Chavolla Avatar answered Oct 23 '22 15:10

Edgar Chavolla


The 7z archive format can be extracted with 7-zip, which is available on Windows.

like image 27
Barend Avatar answered Oct 23 '22 15:10

Barend