Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple JREs used when specifying vm.location #100

Open
lh39 opened this issue Jan 10, 2022 · 0 comments
Open

Multiple JREs used when specifying vm.location #100

lh39 opened this issue Jan 10, 2022 · 0 comments

Comments

@lh39
Copy link

lh39 commented Jan 10, 2022

I came across an issue where multiple JREs were in use when starting an application via WinRun4J.exe shipping an own JRE with the app. The shipped JRE is used together with a system-wide installed JRE. If I move/delete the system-wide JRE, the corresponding dlls are taken from the shipped JRE.

Steps to reproduce:

  • test.exe using WinRun4J.exe

  • test.ini with following content:

working.directory=.
main.class=my.application.Main
classpath.1=test.jar
vm.location=jre/bin/server/jvm.dll

Expected behavior:
test.exe running using shipped JRE

Actual behavior:
test.exe running using shipped JRE + detected system-wide JRE

DLLs used from shipped JRE:
glass.dll
java.dll
javafx_font.dll
jimage.dll
management.dll
management_ext.dll
net.dll
nio.dll
prism_d3d.dll
server\jvm.dll
sunec.dll
VCRUNTIME140.dll
verify.dll
zip.dll

DLLs used from system-wide JRE:
api-ms-win-core-console-l1-1-0.dll
api-ms-win-core-console-l1-2-0.dll
api-ms-win-core-datetime-l1-1-0.dll
api-ms-win-core-debug-l1-1-0.dll
api-ms-win-core-errorhandling-l1-1-0.dll
api-ms-win-core-file-l1-1-0.dll
api-ms-win-core-file-l1-2-0.dll
api-ms-win-core-file-l2-1-0.dll
api-ms-win-core-handle-l1-1-0.dll
api-ms-win-core-heap-l1-1-0.dll
api-ms-win-core-interlocked-l1-1-0.dll
api-ms-win-core-libraryloader-l1-1-0.dll
api-ms-win-core-localization-l1-2-0.dll
api-ms-win-core-memory-l1-1-0.dll
api-ms-win-core-namedpipe-l1-1-0.dll
api-ms-win-core-processenvironment-l1-1-0.dll
api-ms-win-core-processthreads-l1-1-0.dll
api-ms-win-core-processthreads-l1-1-1.dll
api-ms-win-core-profile-l1-1-0.dll
api-ms-win-core-rtlsupport-l1-1-0.dll
api-ms-win-core-string-l1-1-0.dll
api-ms-win-core-synch-l1-1-0.dll
api-ms-win-core-synch-l1-2-0.dll
api-ms-win-core-sysinfo-l1-1-0.dll
api-ms-win-core-timezone-l1-1-0.dll
api-ms-win-core-util-l1-1-0.dll
api-ms-win-crt-conio-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
api-ms-win-crt-environment-l1-1-0.dll
api-ms-win-crt-filesystem-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-locale-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-multibyte-l1-1-0.dll
api-ms-win-crt-private-l1-1-0.dll
api-ms-win-crt-process-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-time-l1-1-0.dll
api-ms-win-crt-utility-l1-1-0.dll

@lh39 lh39 changed the title Multiple JRE used when specifying vm.location Multiple JREs used when specifying vm.location Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant