Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I set up Java Opengl on eclipse?

so I'm just getting into Java Opengl, and I use eclipse as my IDE. I checked the Java Opengl website, but it doesn't really help you to install it. Can anyone give me some steps on how to install Java Opengl so that it can be used in eclipse?

I'm using windows 64 btw.

like image 929
r1nzler Avatar asked Jun 18 '12 22:06

r1nzler


People also ask

How to create a simple OpenGL Project in Java?

Now, we are ready to create a simple OpenGL project in Java. Open Eclipse, close the Welcome page, and create a new Java project: File → New → Java Project: On the Add Library window, select User Library and press Next, on the next window select your JOGL library and press “Finish”:

How to create a JOGL library in Eclipse?

In Eclipse, use the menu bar and go to Window → Preferences → Java → Build Path → User Libraries: Press New in the above window, write JOGL for the library name and press OK.

How to setup OpenCV Java with Eclipse?

How to setup OpenCV Java with eclipse? To setup JavaFx in eclipse, first of all, make sure that you have installed eclipse and Java in your system successfully. To set up JavaFX environment using maven dependency, create a Java project in eclipse convert it into a maven project as shown below −

Is JOGL a good way to get started with OpenGL?

I thought his question was general enough to write a small post about creating a Java OpenGL getting started project. JOGL is a good fit for a Java programmer that wants to learn OpenGL, it is particularly useful if you follow some OpenGL intro book or article.


Video Answer


1 Answers

You'll need to install JOGL or LWJGL to use OpenGL in Java

  • Instructions for JOGL: http://jogamp.org/wiki/index.php/Jogl_Tutorial
  • LWJGL: https://www.lwjgl.org/guide (there should be a versioned installation link pointing to github)

p.s.: Some JOGL vs. LWJGL discussion: https://stackoverflow.com/questions/3644872/revisiting-the-issue-of-lwjgl-vs-jogl-for-game-programming

like image 68
Stefan Haustein Avatar answered Oct 21 '22 05:10

Stefan Haustein