Configure JOGL in Eclipse for Graphics projects
- Download and copy "jogamp-all-platforms" from https://github.com/imtilab/jogamp-all-platforms
to your machine's any folder.
- Make sure you have JAVA installed
in your machine.
- Open eclipse IDE.
- Goto Window-> Preferences->
Java-> Build Path-> User Libraries.
- Click on New and create a new user
library name it JOGL (or something else) and click OK.
- Click on Add External JARs
(easier) or Add JARs and then add the following jars to it (you can find
these jars in jogamp-all-platforms -> jar).
(if you are using linux, add below 4) - gluegen-rt.jar
- gluegen-rt-native-linux-amd64.jar
- jogl-all.jar
- jogl-all-native-linux-amd64.jar
or, (if you are using windows, add below 4)
1.
gluegen-rt.jar
2.
gluegen-rt-native-windows-amd64.jar
3.
jogl-all.jar
4.
jogl-all-native-windows-amd64.jar
Now click OK.
N.B. if you are on a
32 bit machine use jars like "gluegen-rt-native-linux-i586.jar" or,
for windows 32 use jars like "gluegen-rt-native-windows-i586.jar".
From now on for every project you create,
From now on for every project you create,
- Right click on project->
Properties-> Java Build Path-> Libraries-> Add Library->
- Select User Library and click
Next.
- Select the the library you just
created, click Finish and then OK.
You are ready to start your Graphics project.
kissanime alternatives
ReplyDelete