[Info] AMP Instance Manager v18.104.22.168 built 13/05/2020 00:20 [Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
AMP isn't smart enough to know which version of java is required to run a certain Forge server jar file so just creating and running a Forge server in AMP doesn't work, but I can run it on my server in command line with:
~/.ampdata/instances/Minecraft01/Minecraft $ /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -Xms1G -Xmx3G -jar forge-1.12.2-22.214.171.12447-universal.jar nogui
I know I can set the JVM arguments in AMP but I cannot find where to set which java binary AMP uses - how can I do that? I tried to alias 'java' to my java binary but that didn't work.