Sign in to follow this  
profesora

[java] JOGL in Eclips problems with configuration

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this