-
Hello, I'm a complete noob when it comes to messing with Java and settings and such. I currently have two versions of Java on my PC, Java 8 and Java 18, with Java 18 being the default. Before I used MSCS, I would explicitly state in a .sh file the path to the java version I needed and would be able to run my server like normal. I am currently trying to mess with the mscs.properties file and thought I could do the same as before, using the mscs-server-command, and explicitly state the path to the Java I needed for the server version. However, after trying to run it, it keeps telling me "Java not found". I know the simple solution would probably be to just switch the default Java version, but I rather be able to run the servers seamlessly without changing it. How do I achieve this in mscs? Is there a config file or different settings I must change? Any response is appreciated, thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
In the |
Beta Was this translation helpful? Give feedback.
In the
mscs-server-command
setting, you want to replace$JAVA
with the full path to the version you want to use.