Running 1.7.10 and 1.20 server at the same time
I run a public 1.7.10 modded server, but I also want to setup a private 1.20 server on the same computer. How do I have them run at the same time when they require different Java versions?
3 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by catzilla2018#0
in the startup script
instead of using "java"
use the location of java
get yourself a portable java runtime for the version not installed from https://adoptium.net/en-GB/temurin/releases/?os=linux&package=jre&version=8
then extract it
then instead of putting
java -jar x
you put the file location
so for example
"/home/username/JREs/jre8/bin/java" -jar x