Attachment contains modular jars (com.greetings.jar, custom.util.jar) to use in command line of jlink
steps to reproduce.
try the following commands in build 138 by modifying module-path directory according to your system.
SCENARIO ONE:
jlink --module-path C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars;C:\PROGRA~1\Java\jdk-9\jmods --add-modules com.greetings,custom.util --output withstripnativecommandssecondtime138build --strip-native-commands
ISSUE :Go to output directory "withstripnativecommandssecondtime138build\bin" mentioned in jlink command.
Which dll's are missing?
prism_common.dll
javafx_font.dll
prism_d3d.dll
prism_sw.dll
jfxmedia.dll
jfxwebkit.dll
javafx_font.dll
javafx_font_t2k.dll
javafx_iio.dll
fxplugins.dll
glass.dll
glib-lite.dll
gstreamer-lite.dll
decora_sse.dll
server/jvm.dll
SCENARIO TWO:
WORKING PERFECTLY:
jlink --module-path C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars;C:\PROGRA~1\Java\jdk-9\jmods --add-modules com.greetings,custom.util --output withoutstripnativecommandssecondtime138build
NOTE: Modular Jar's contains javafx code and doesn't contain any dll's
steps to reproduce.
try the following commands in build 138 by modifying module-path directory according to your system.
SCENARIO ONE:
jlink --module-path C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars;C:\PROGRA~1\Java\jdk-9\jmods --add-modules com.greetings,custom.util --output withstripnativecommandssecondtime138build --strip-native-commands
ISSUE :Go to output directory "withstripnativecommandssecondtime138build\bin" mentioned in jlink command.
Which dll's are missing?
prism_common.dll
javafx_font.dll
prism_d3d.dll
prism_sw.dll
jfxmedia.dll
jfxwebkit.dll
javafx_font.dll
javafx_font_t2k.dll
javafx_iio.dll
fxplugins.dll
glass.dll
glib-lite.dll
gstreamer-lite.dll
decora_sse.dll
server/jvm.dll
SCENARIO TWO:
WORKING PERFECTLY:
jlink --module-path C:\Users\rbgangad.ORADEV\Desktop\rough\temp\modjars;C:\PROGRA~1\Java\jdk-9\jmods --add-modules com.greetings,custom.util --output withoutstripnativecommandssecondtime138build
NOTE: Modular Jar's contains javafx code and doesn't contain any dll's
- blocks
-
JDK-8166282 javapackager throws Graphics Device initialization failed for : d3d, sw
-
- Closed
-
- duplicates
-
JDK-8166282 javapackager throws Graphics Device initialization failed for : d3d, sw
-
- Closed
-