Login  Register

Re: Error building JOGL with Java 7

Posted by Sven Gothel on Aug 03, 2011; 3:51pm
URL: https://forum.jogamp.org/Error-building-JOGL-with-Java-7-tp3217275p3222654.html

On Wednesday, August 03, 2011 04:31:12 PM Wade Walker [via jogamp] wrote:

>
> I found the problem last night. Apparently javah has changed slightly in Java
> 1.7. In Java 1.6, when you ran javah on GDI.java, it didn't require that
> PointerBuffer.class be in the classpath, even though PointerBuffer is used
> in some parameter lists in GDI.java. In Java 1.7, javah does require that
> PointerBuffer.class be in the classpath.
>
> To fix the build, find the target "c.build.nativewindow.windowlib.windows"
> in jogl/make/build-nativewindow.xml, and change classpath from "${classes}"
> to "${classes}:${gluegen.root}/build/classes". I've tested this on Windows
> and Linux, and it works on both.
>
>

great, thx

re: sun packages, wonder if ole AWT stuff (GLCanvas) still works then :)
it uses a bunch of non std classes to query native details.

~Sven