Jogl On Redhat 8

I plan to port a program over from windows, but I do not know what is required to implement Jogl on linux. Apart from the Jogl Libraries and Classes, do I require the native gl libraries? If yes, how do I use them?

[quote]I plan to port a program over from windows, but I do not know what is required to implement Jogl on linux. Apart from the Jogl Libraries and Classes, do I require the native gl libraries? If yes, how do I use them?
[/quote]
I haven’t yet tested a Java application with Jogl on Linux (because I’ve to learn how to use Jogl first :slight_smile: , however basically you should just have to give Jogl’s native “.so”-library and the platform independant “.jar”-library to your JRE or SDK on Linux.
The two files can be found in the archive “jogl-linux.tar.gz” on http://jogl.dev.java.net/servlets/ProjectDocumentList?folderID=128
If your Linux JRE knows these two files, it can run any Java-Jogl-applications. (Provided of course that your Linux has got an OpenGL driver, which it usually does).

To “port” a Java-Jogl-application from one platform to another then is just to copy the JAR-file(s) of the application and voila: there you are.

I plan to install jogl on a redhat 8 box today. Yes, you will need to have GL installed. It’s also known as Mesa on XFree86 platforms. Chances are if you’ve installed X, then you’ve installed GL, too. You can check by looking for libGL.* in /usr/X11R6/lib.

…I wonder how hard a FreeBSD port would be.

Not much news about Jogl on Linux yet. Hopefully, someone can write a How-to for using Jogl on Linux, including information on the GL Libraries (ie, Mesa3d on redhat etc etc)…

Concerning GL Libraries, all you should need to do is to install a native driver for your 3D card (I assume you have one as you’re interested in 3d graphics :wink:

I know you can download nvidia linux drivers from their website, I’ve also heard that ati got linux support by an ati employee who’s doing their linux drivers in his sparetime (sounds strange - maybe just a rumour though?).