On linux you can change the bat to .sh and remove the "start" and quotes (")
- Code: Select all
java -Xmx2048m --add-exports=java.base/java.lang=ALL-UNNAMED --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.desktop/sun.java2d=ALL-UNNAMED -Dhaven.defserv=game.havenandhearth.com -Dhaven.mapbase=http://game.havenandhearth.com/java/ -Dsun.java2d.uiScale.enabled=false -Dhaven.resurl=https://game.havenandhearth.com/res/ -Dhaven.cachebase=http://game.havenandhearth.com/render/ -Dhaven.fullscreen=off -Djava.net.preferIPv6Addresses=system -Dhaven.screenurl=http://game.havenandhearth.com/mt/ss -classpath ./cache/https/enderwiggin.github.io/hafen/hafen.jar:./cache/https/enderwiggin.github.io/hafen/client-res.jar:./cache/https/game.havenandhearth.com/java/hafen-res.jar:./cache/https/game.havenandhearth.com/java/builtin-res.jar:./cache/https/game.havenandhearth.com/java/jogl/current/jar/jogl-all.jar:./cache/https/game.havenandhearth.com/java/jogl/current/jar/gluegen-rt.jar -Djava.library.path=./cache/https/game.havenandhearth.com/java/jogl/current/jar/.jogl-all-natives-linux-amd64.jar.lib:./cache/https/game.havenandhearth.com/java/jogl/current/jar/.gluegen-rt-natives-linux-amd64.jar.lib:/usr/java/packages/lib:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib haven.MainFrame &