- Download JOGL1.1 "windows amd64 and i586" zip file from here or here.
- Extract this zip file to C:\ so you should have C:\JOGLwin\lib32 and C:\JOGLwin\lib64
- Open Netbeans and create a new project, call it "Computer Graphics" for example.
- Download the file "SimpleJoglApp.java" or from here and add it to your project.
- Right-click the project and choose properties.
- Select Run from the left, then add this Java VM option: "-Djava.library.path=C:\JOGLwin\lib64", and press Ok.
- After this, right-click on Libraries and select "Add Library", or simply choose "Libraries" from project properties on the left.
- Press Add Library -> Create -> Type the library name "Jogl" and press Ok.
- Now, click "Add JAR/Folder", browse to "C:\JOGLwin\lib32", and select all files then press "Add JAR/Folder", then do the same for "C:\JOGLwin\lib64".
- After adding both sets of JARs, your library should look like this:
- Click OK -> OK, run your project/file and it should work.
Monday, March 31, 2014
How to install JOGL1.1 into Netbeans?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment