Login  Register

Re: Jogl / Java3D with Java 11 ?

Posted by DonPearson on Aug 15, 2019; 5:02pm
URL: https://forum.jogamp.org/Jogl-Java3D-with-Java-11-tp4039896p4039935.html

I was able to get the program to run outside of Netbeans with the following commands  --so another step has been successfully completed:

java -cp C:\projects\extLib\JogAmp\jogamp-fat-all\jogamp-fat\jogamp-fat.jar;  -p C:\projects\NasaPiscesLib\dist

\nasaPiscesLib.jar;C:\projects\GeneralLib\dist\generalLib.jar;C:\projects\StarChartNew\dist\StarChart.jar;C:\projects

\StarChart3DNew\lib\j3dutils.jar;C:\projects\StarChart3DNew\lib\vecmath.jar;C:\projects\StarChart3DNew\lib\j3dcore.jar;C:

\projects\StarChart3DNew\dist\StarChart3D.jar -m StarChart3D/starChart3D.StarChart3Dapp -add-exports java.base/java.lang=ALL-

UNNAMED --add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/sun.java2d=ALL-UNNAMED


As expected, the mouseZoom function (center mouse wheel) still doesn't work.  

So I still have a question: this method of deployment still requires the target PC to have Java11 JDK installed on it, correct? Otherwise it will not recognize the java command.  My goal is to be able to run this on windows machines without requiring Java installation.