Login  Register

Re: How to enable Gluegen (Java3D) on Java 9

Posted by Predrag Bokšić on Dec 01, 2017; 2:02am
URL: https://forum.jogamp.org/How-to-enable-Gluegen-Java3D-on-Java-9-tp4038338p4038365.html

You are completely correct. My Java3D version is a bit off. But, I got it on this page:
https://jogamp.org/wiki/index.php/Java3D_FAQ
That's the default download.

I don't know if it changes anything. In Windows 10, it seems to work well.

E:\idea\java3D_jdk9\project2>java -version
java version "9.0.1"
Java(TM) SE Runtime Environment (build 9.0.1+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.1+11, mixed mode)

E:\idea\java3D_jdk9\project2>java -jar ./StillCube.jar
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javax.media.j3d.JoglPipeline (file:/E:/idea/java3D_jdk9/project2/StillCube.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media.j3d.JoglPipeline
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
OpenGL pipeline enabled for default config on screen 0


Here, you can download the IntelliJ Idea project folder with the source code and the jar files(s). (The bash script is for illustrative purposes only; you need to enter the absolute path to the jar file and: sudo chmod +x ./start.sh but you don't need it anyway.)
https://drive.google.com/open?id=1pSHFCTv5PcItde-hs0EWJqpVY3YPZ9C6


Do you think that the MacOS could have Mesa drivers that we could omit somehow? I am bit lost :-)