Login  Register

Re: GL_ARB_vertex_buffer_object not available on Mac?

Posted by Wade Walker on Dec 21, 2018; 3:09am
URL: https://forum.jogamp.org/GL-ARB-vertex-buffer-object-not-available-on-Mac-tp4039309p4039328.html

I tried building gluegen with Java 11 and got the same result as nyholku -- it fails because it's trying to explicitly include rt.jar on the bootclasspath when building with javac, but rt.jar no longer exists in Java 10 and 11.

It looks like the javac -source/-target/-bootclasspath options all need to be replaced with --release these days, though that would require us to always compile glugen/jogl with Java 9 or later (see https://stackoverflow.com/questions/43102787/what-is-the-release-flag-in-the-java-9-compiler). Earlier versions can still be targeted, but only 3 versions back (see https://docs.oracle.com/javase/10/migrate/toc.htm#JSMIG-GUID-77874D97-46F3-4DB5-85E4-2ACB5F8D760B).