When I try to open the forge installer using the java -jar command it doesn't work. I'm using Fedora 40.
The log file
If I say --installServer that works but I don't want to install the server.
Edit: Fedora comes with a headless java installed so that's why it wasn't working. I had to install the full openjdk. sudo dnf install java-21-openjdk