Login  Register

Problems getting eclipse set up for building jogl

Posted by elect on Oct 22, 2016; 10:09am
URL: https://forum.jogamp.org/Problems-getting-eclipse-set-up-for-building-jogl-tp4037343.html

So, I followed the wiki:

- I can build from command line

- I don't know if I have the jdk or jre, but I do have $JAVA_HOME/lib/tools.jar and $JAVA_HOME/bin/javac, so I assume I have a jdk

- I don't have any CLASSPATH variable

- I have ant 1.9.6

- echo $ANT_HOME
/usr/share/ant

- and it's in my PATH

$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$ANT_HOME/bin:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin


- this is my eclipse.ini, the only different is that I have

-vm
<your JAVA_HOME directory>/jre/bin

instead

-vm
<your JAVA_HOME directory>/jre/bin/java

I think it's ok

- I didn't customize Eclipse's Ant version since I have 1.9.6 and jogl requires 1.8+

- I created the Ant and SWT user library

- imported gluegen and jogl projects

- disabled immediately auto-build

- followed the whole Create the gluegen project and
Create the jogl project

- clean & build

gluegen went fine, jogl no, log error

I remember when I did "Create the jogl project", they said to "Remove any source path entries that are not in this list." and there was a couple of oculus stuff, I had the feeling that could have potentially created some bugs, and I screenshotted the whole thing just in case and I guess I was right..



What shall I do?