Try to launch a localhost server fails with launchInvalidJavaPath exception.
The exception's Java path it shows is correct, however, the path it's trying to call appends 'w' to the binary... e.g.
It shows this:
~/.xmcl/jre/java-runtime-delta/jre.bundle/Contents/Home/bin/java
But is actually trying to call this:
~/.xmcl/jre/java-runtime-delta/jre.bundle/Contents/Home/bin/javaw
This can easily be seen by clicking on server launch arguments preview.
Making a symlink named javaw that points to the java binary fixes the problem!
Expected Behavior
Call java instead of javaw.
Steps To Reproduce
Create a game with Minecraft 1.21.1 and Fabric 0.16.5
Launch localhost server
(I assume other Minecraft versions &c. produce the same output... but technically have not verified)
Is there an existing issue for this?
Launcher Version
0.47.1
Operating System
Mac
Architecture
x64
Current Behavior
Try to launch a localhost server fails with
launchInvalidJavaPath
exception.The exception's Java path it shows is correct, however, the path it's trying to call appends 'w' to the binary... e.g. It shows this:
~/.xmcl/jre/java-runtime-delta/jre.bundle/Contents/Home/bin/java
But is actually trying to call this:~/.xmcl/jre/java-runtime-delta/jre.bundle/Contents/Home/bin/javaw
This can easily be seen by clicking on server launch arguments preview.
Making a symlink named
javaw
that points to thejava
binary fixes the problem!Expected Behavior
Call java instead of javaw.
Steps To Reproduce
(I assume other Minecraft versions &c. produce the same output... but technically have not verified)
Anything else?
No response