Open CuriousCodingCanadian opened 2 weeks ago
that seems to not be a java path? I don't think java paths have scripts in them, the java path should just lead to the bin folder on the java installation you want to use
@blryface said:
that seems to not be a java path? I don't think java paths have scripts in them, the java path should just lead to the bin folder on the java installation you want to use
Second line:
When using an interpreter script
The point of this report is that it should be able to work, as this script just passes the arguments to Java.
The only reason I'm using a script is that I use an overlay called MangoHUD that lets me see my FPS without having to render it in-game (which is known to considerably decrease FPS. Additionally, if this uses file
, then that may cause weird or unexpected bugs. (see Can't print on Tuesdays). This should not be a check in place, or at least be able to be turned off in the settings. The ideal behavior is that this throws a warning but not error, as it works when this check is not in place (vanilla launcher).
Describe the bug
When using an interpreter script as the path for Java in a Modrinth instance, the error "Error launching Minecraft: Java path invalid or non-functional: /path/to/script", even when the script works perfectly. This does not occur using this java path in the official Minecraft Launcher.
Steps to reproduce
#!/bin/sh echo "$@" > ~/mc.log mangohud --dlsym java "$@"
Expected behavior
The instance will launch correctly.
System information
Arch Linux latest. v0.7.1 Theseus.
Additional context