I downloaded the source to beta3 and I’m having trouble building it. It appears that the ant build process is picking up the gcc-java binary or classpath jar files, however java and javac both resolve to the sun jdk from the path. I specifically set java.home.dir to be the sun jdk in jogl.properties. Any ideas about what I’m doing wrong?
...
[echo] Generating JAWT interface class
[echo] java.home.dir=/usr/java/jdk1.5.0_06
Overriding previous definition of reference to stub.includes.fileset.platform
[gluegen] java.io.FileNotFoundException: ${java.includes.dir.platform}/jawt_md.h (No such file or directory)
[gluegen] at gnu.java.nio.channels.FileChannelImpl.open(java.lang.String, int) (/usr/lib64/libgcj.so.6.0.0)
[gluegen] at gnu.java.nio.channels.FileChannelImpl.FileChannelImpl(java.lang.String, int) (/usr/lib64/libgcj.so.6.0.0)
[gluegen] at java.io.FileInputStream.FileInputStream(java.io.File) (/usr/lib64/libgcj.so.6.0.0)
[gluegen] at java.io.FileInputStream.FileInputStream(java.lang.String) (/usr/lib64/libgcj.so.6.0.0)
[gluegen] at java.io.FileReader.FileReader(java.lang.String) (/usr/lib64/libgcj.so.6.0.0)
[gluegen] at com.sun.gluegen.GlueGen.run(java.lang.String[]) (Unknown Source)
[gluegen] at com.sun.gluegen.GlueGen.main(java.lang.String[]) (Unknown Source)
[gluegen] at .main (/usr/lib64/libgij.so.6.0.0)
[gluegen] at .__libc_start_main (/lib64/libc-2.3.5.so)
[gluegen] Exception occurred while generating glue code. Exiting.
BUILD FAILED
/home/sauron.0/cj/apps/jogl/beta3/jogl/make/build.xml:1276: The following error occurred while executing this line:
/home/sauron.0/cj/apps/jogl/beta3/jogl/make/build.xml:1203: The following error occurred while executing this line:
/home/sauron.0/cj/apps/jogl/beta3/jogl/make/build.xml:528: GlueGen returned: 1
My CLASSPATH is not set.
I’m runing FC4.x86_64 with the sun jdk-1.5.0_06-fcs.x86_64. My ant build target was linux.amd64.