Login  Register

Required JARs for project update

Posted by jurchiks on Oct 22, 2014; 7:51pm
URL: https://forum.jogamp.org/Required-JARs-for-project-update-tp4033431.html

I'm updating libraries for this project: https://code.google.com/p/g3d-editor/
The old libraries are the following:
gluegen-rt.dll
gluegen-rt.jar
jogl_desktop.dll
jogl.all.jar
nativewindow_awt.dll
nativewindow_win32.dll
nativewindow.all.jar

I downloaded and put the following libraries in a separate lib folder:
gluegen-java-src.zip
gluegen-rt-natives-windows-amd64.jar (do I need this?)
gluegen-rt-natives-windows-i586.jar (do I need this?)
gluegen-rt.jar
gluegen.LICENSE.txt
jogl-all-natives-windows-amd64.jar (do I need this?)
jogl-all-natives-windows-i586.jar (do I need this?)
jogl-all.jar
jogl-java-src.zip
jogl.LICENSE.txt

I've removed all the old libraries from the project library list (using Eclipse here) and added jogl-all.jar and gluegen-rt.jar, and in Ant build.xml I have this:

<path id="classpath">
        <fileset dir="${lib}">
                <include name="gluegen-rt.jar" />
                <include name="jogl.all.jar" />
        </fileset>
</path>
<target name="compile" depends="init">
        <javac destdir="${build.classes}" optimize="on" debug="on" source="1.8" target="1.8" nowarn="off" includeantruntime="false">
                <src path="${src}" />
                <classpath refid="classpath" />
        </javac>
</target>

But when I try to compile the project, I get the following errors:
    [javac] C:\workspace\G3D-Editor\src\g3deditor\G3DEditor.java:24: error: package javax.media.opengl does not exist
    [javac] import javax.media.opengl.GLCapabilities;
...
    [javac] C:\workspace\G3D-Editor\src\g3deditor\G3DEditor.java:30: error: package com.jogamp.opengl.util does not exist
    [javac] import com.jogamp.opengl.util.Animator;

and so on.
What am I missing here?

This wiki article says those are all the libraries I need:
http://jogamp.org/wiki/index.php/Downloading_and_installing_JOGL#Using_the_7z_jogamp-all-platforms_archive
Same here:
http://jogamp.org/jogl/doc/deployment/JOGL-DEPLOYMENT.html#JOGLAllInOneJARs