Hello everyone;
I'm a Debian/Linux user with a moderate prior exposure to Java; much much earlier today I thought it would be fun to pick up the language again, and what better way to do that than to use a familiar library like opengl, right?
So, I installed java and the jogl stuff from apt (JSR-231, version 1.1.1-1).
These demos run fine on my system:
https://jogl-demos.dev.java.net/But god forbid they share the source code! How completely worthless!
So, I've spent the last 3 hours trying to figure out how to
import the bloody libs.
Here are some things I've tried:
1
| import net.java.games.jogl.*; |
This is met with "error: The import net cannot be resolved".
Oh right. Fine, lets try this:
1
| import javax.media.opengl.GL; |
This is met with "error: The import javax.media cannot be resolved".
and just for good measure (in the console)
which returns: /usr/share/java/jogl.jar
Also, one of the stickies recommends this to verify that things *should* work:
1
| System.loadLibrary("jogl"); |
Well, that one ran ok!
What am I doing wrong? This is driving me crazy!