#2.0.02-SNAPSHOT-01.03 not starting at all. Java 17 installed.

1 messages · Page 1 of 1 (latest)

final hatch
#

So I grabbed the new version today (first time trying the 2.0 one). First time I tried to run it I got the warning that I need Java 17, fair enough.
I installed the recommende java (the one it links you to) and now it just doesn't start. The .exe des literally nothing, running the .cmd opens a tertminal window for a split second but not long enough to read.

Java seems to be installed properly since running "java --version" gives me the 17.

#

Oddly it seems running it through java -jar <jar name> in the cmd does work.
So question is how do I fix the exe (which I assume uses the forge.cmd file)?
I haven'd edited the .cmd file.

#

If I run the .cmd file from the terminal I get this, which I think is the same if I run it by double-clicking it (as far as I can tell from the split-second).

The contents of the .cmd file are unchanged from what I got from the tar

#

Running by double-clicking the .jar doesn't work either.

#

Hmm, I can make the .cmd work by just removing the

--add-opens java.desktop/java.beans=ALL-UNNAMED
            --add-opens java.desktop/javax.swing.border=ALL-UNNAMED
            --add-opens java.desktop/javax.swing.event=ALL-UNNAMED
            --add-opens java.desktop/sun.swing=ALL-UNNAMED 
            --add-opens java.desktop/java.awt.image=ALL-UNNAMED
            --add-opens java.desktop/java.awt.color=ALL-UNNAMED
            --add-opens java.desktop/sun.awt.image=ALL-UNNAMED
            --add-opens java.desktop/javax.swing=ALL-UNNAMED
            --add-opens java.desktop/java.awt=ALL-UNNAMED
            --add-opens java.base/java.util=ALL-UNNAMED
            --add-opens java.base/java.lang=ALL-UNNAMED
            --add-opens java.base/java.lang.reflect=ALL-UNNAMED
            --add-opens java.base/java.text=ALL-UNNAMED
            --add-opens java.desktop/java.awt.font=ALL-UNNAMED
            --add-opens java.base/jdk.internal.misc=ALL-UNNAMED
            --add-opens java.base/sun.nio.ch=ALL-UNNAMED 
            --add-opens java.base/java.nio=ALL-UNNAMED
            --add-opens java.base/java.math=ALL-UNNAMED
            --add-opens java.base/java.util.concurrent=ALL-UNNAMED
            --add-opens java.base/java.net=ALL-UNNAMED 

(which clearly isn't recognized looking at the error)
But that doesn't help with the exe, neither does making the same changes to the .command or .sh file.

patent yew
final hatch
#

And what's the reason for the exe not working even with my fix?
I guess it has the launch command baked in somehow instead of relying on those files?

glossy ridge
#

forge-installer-2.0.02-SNAPSHOT-01.05

Similar Issue.
It starts to load but then crashes:
Report Crash:

No clue what to do.

patent yew
#

MacOS is causing Problems with ignoring the Manifest file

I try to make a hot fix MR