Re: JOGL Java 10 modularization
Posted by
gouessej on
Nov 10, 2018; 8:43am
URL: https://forum.jogamp.org/JOGL-Java-10-modularization-tp4038983p4039284.html
Hello
Java Web Start isn't included in Java >= 1.11:
https://www.oracle.com/technetwork/java/eol-135779.html
The Web Deployment Technology bundled with the JRE, consisting of the Java Plugin and Java Web Start has a shorter support lifecycle: only five years of Premier Support. The deployment stack was marked as deprecated and flagged for removal in Java SE 9 and Java SE 10. Oracle Java SE 11 and later versions will not include the Deployment Stack.
If I were you, I would make it work without Eclipse as a first step. If you try to solve all problems at the same time, you'll fail. Then, why not using Ant or Maven to build without Eclipse? After that, you could still use one of those tools inside Eclipse Photon.
Have you tried to use "java --add-exports java.base/java.lang=ALL-UNNAMED --add-exports java.desktop/sun.awt=ALL-UNNAMED --add-exports java.desktop/sun.java2d=ALL-UNNAMED" and
module your_module_name {
requires java.base;
requires java.desktop;
}
?
Note that you can put "Add-Exports: java.base/java.lang java.desktop/sun.awt java.desktop/sun.java2d" into your manifest file.