-
Bug
-
Resolution: Fixed
-
P2
-
jfx11
-
Windows
JDK 11 ea+21
OpenJFX 11 ea+17
Steps to reproduce:
1. Download https://download.java.net/java/early_access/openjfx11/17/binaries/openjfx-11-ea+17_windows-x64_bin-sdk.zip
2. Download https://download.java.net/java/early_access/jdk11/21/GPL/openjdk-11-ea+21_windows-x64_bin.zip
3. Unzip the OpenJDK and OpenJFX bundles
4. Run jlink as follows:
jdk-11/bin/jlink.exe --module-path javafx-jmods-11 --add-modules "java.se,javafx.controls" --output myjdk-11
It will produce the following exception:
Error: jdk.tools.jlink.plugin.PluginException: Duplicate resources: {bin\api-ms-win-crt-string-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-heap-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-timezone-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-locale-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-runtime-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-conio-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-processenvironment-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-stdio-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-synch-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-interlocked-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-file-l2-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-namedpipe-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-time-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-libraryloader-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-debug-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-heap-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-console-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-private-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-environment-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-math-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-errorhandling-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-processthreads-l1-1-1.dll=[javafx.graphics, java.base], bin\ucrtbase.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-convert-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-sysinfo-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-file-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-localization-l1-2-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-process-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-profile-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-filesystem-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-multibyte-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-datetime-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-file-l1-2-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-utility-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-handle-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-memory-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-rtlsupport-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-processthreads-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-synch-l1-2-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-util-l1-1-0.dll=[javafx.graphics, java.base], bin\vcruntime140.dll=[javafx.graphics, java.base], bin\api-ms-win-core-string-l1-1-0.dll=[javafx.graphics, java.base], bin\msvcp140.dll=[javafx.graphics, java.base]}
1. Download https://download.java.net/java/early_access/openjfx11/17/binaries/openjfx-11-ea+17_windows-x64_bin-sdk.zip
2. Download https://download.java.net/java/early_access/jdk11/21/GPL/openjdk-11-ea+21_windows-x64_bin.zip
3. Unzip the OpenJDK and OpenJFX bundles
4. Run jlink as follows:
jdk-11/bin/jlink.exe --module-path javafx-jmods-11 --add-modules "java.se,javafx.controls" --output myjdk-11
It will produce the following exception:
Error: jdk.tools.jlink.plugin.PluginException: Duplicate resources: {bin\api-ms-win-crt-string-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-heap-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-timezone-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-locale-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-runtime-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-conio-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-processenvironment-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-stdio-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-synch-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-interlocked-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-file-l2-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-namedpipe-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-time-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-libraryloader-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-debug-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-heap-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-console-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-private-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-environment-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-math-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-errorhandling-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-processthreads-l1-1-1.dll=[javafx.graphics, java.base], bin\ucrtbase.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-convert-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-sysinfo-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-file-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-localization-l1-2-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-process-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-profile-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-filesystem-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-multibyte-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-datetime-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-file-l1-2-0.dll=[javafx.graphics, java.base], bin\api-ms-win-crt-utility-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-handle-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-memory-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-rtlsupport-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-processthreads-l1-1-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-synch-l1-2-0.dll=[javafx.graphics, java.base], bin\api-ms-win-core-util-l1-1-0.dll=[javafx.graphics, java.base], bin\vcruntime140.dll=[javafx.graphics, java.base], bin\api-ms-win-core-string-l1-1-0.dll=[javafx.graphics, java.base], bin\msvcp140.dll=[javafx.graphics, java.base]}
- relates to
-
JDK-8281089 JavaFX built with VS2019 and jlinked into JDK 11.x fails to start
- Resolved
-
JDK-8210089 Stop redistributing Microsoft DLLs in openjfx
- Closed
- links to