DLabinac
DLabinac

Reputation: 47

JOGL and javax.media

I was trying out a simple tutorial for JOGL with eclipse: http://www.tutorialspoint.com/jogl/jogl_installation.htm

I did as shown, but for some reason all of the javax.media includes are invalid: The import javax.media cannot be resolved

I imported all of the mentioned jars into the build path. I've done lots of other projects, but importing jars always worked flawlessly for me.

To my impression I either have the wrong jars, I am missing something, or something is broken with the importing.

This is where I got the jars: http://jogamp.org/deployment/jogamp-current/archive/

Upvotes: 1

Views: 182

Answers (2)

elect
elect

Reputation: 7190

Don't use that, it's very outdated, use these instead:

javax.media is the previous location where in the older jogl versions the GL objects were

Upvotes: 3

DLabinac
DLabinac

Reputation: 47

Eclipse suggested adding the com.jogamp.jogl project to my project, and when I did that the problem was solved. Still not sure why just adding the mentioned jars did not work.

Upvotes: 0

Related Questions