Sorry that I'm so stupid, but what should i write exactly?
#!/bin/bash
cd "$(dirname "$0")"
exec java -Xmx1G -Xms4G -jar forge.jar
exec java -version
Should I just use this and replace the term version with my version.
On Windows, there is simmalar file wich includes the file path to java. On Mac this would be this /Users/jakob/Library/Application Support/minecraft/runtime/jre-x64/jre.bundle/Contents/Home/bin/java
Does that help you in any way to help me?