Eclipse application with custom jlink'd custom image (JDK 9/10/11).
Step to reproduce
1. Install eclipse 4.8
2. run jdeps on all jar preset in /Application/Eclipse.app
3. create custom JDK image
4. run /Application/Eclipse.app/Contents/MacOS/eclipse -vm /PathToCustomImage/bin/java
Actual :
Eclipse doesn't boot up and shows Dialog to install JDK
Expected :
Eclipse application should boot and use custom image.
3.a : jlink --module-path $JAVA_HOME/jmods --add-modules java.management,java.sql,java.logging,java.naming,java.desktop,java.xml,java.rmi,java.security.jgss,java.compiler,java.xml.ws.annotation,java.base,jdk.xml.dom,java.activation,jdk.jdi --output /Path/To/CustomImage
To verify any missing module (while running jdeps), i have created custom image with all the module preset in the JDK (9/10/11) . Even with all the modules added in the custom image, The failure is same.
----logs---
with -verbose:module
[0.493s][info][module,load] jdk.proxy1 location: NULL
No Java runtime present, requesting install.
-----------
Linked Bug in Eclipse bugzilla : https://bugs.eclipse.org/bugs/show_bug.cgi?id=534356
Step to reproduce
1. Install eclipse 4.8
2. run jdeps on all jar preset in /Application/Eclipse.app
3. create custom JDK image
4. run /Application/Eclipse.app/Contents/MacOS/eclipse -vm /PathToCustomImage/bin/java
Actual :
Eclipse doesn't boot up and shows Dialog to install JDK
Expected :
Eclipse application should boot and use custom image.
3.a : jlink --module-path $JAVA_HOME/jmods --add-modules java.management,java.sql,java.logging,java.naming,java.desktop,java.xml,java.rmi,java.security.jgss,java.compiler,java.xml.ws.annotation,java.base,jdk.xml.dom,java.activation,jdk.jdi --output /Path/To/CustomImage
To verify any missing module (while running jdeps), i have created custom image with all the module preset in the JDK (9/10/11) . Even with all the modules added in the custom image, The failure is same.
----logs---
with -verbose:module
[0.493s][info][module,load] jdk.proxy1 location: NULL
No Java runtime present, requesting install.
-----------
Linked Bug in Eclipse bugzilla : https://bugs.eclipse.org/bugs/show_bug.cgi?id=534356