[java] JOGL in Eclips problems with configuration

Started by
0 comments, last by Cakey 15 years, 3 months ago
Hi i am try to configurate my Eclips for work with JOGL libraryse. I read sam tuts but everyting generate an eror Please tell me haw to put my JOGL librarys in progect This is a progekt with JOGL jar files http://prikachi.com/files/554544A.jpg This is JOGL libraries http://prikachi.com/files/554549T.jpg I use this simple code ******************************************************************************* import net.java.games.jogl.*; public class HelloWorld { public static void main (String args[]) { try { System.loadLibrary("jogl"); System.out.println( "Hello World! (The native libraries are installed.)" ); GLCapabilities caps = new GLCapabilities(); System.out.println( "Hello JOGL! (The jar appears to be available.)" ); } catch (Exception e) { System.out.println(e); } } ******************************************************************************* I try with oder sors but the result are the same many erors Meaby i nead to add samting in my Java folders i dont no please help me with same advaise
Advertisement
Heya prof.

I had quite a problem installing the JOGL libraries to eclipse too. But it's realllly pretty easy. Okay when your creating your new project, after you name it either you hit next, or there is a tab that states "Libraries" click that. Then click "Add External Jars", browse to the folder inwich you have your jogl and glugen libraries(hopefully somewhere local in your C: drive like c:\libraries or something) and boom hit create project and you should be good to go.

This topic is closed to new replies.

Advertisement