After upgrading to java 8, I can’t start any of my servers. I’m 99% sure it has to do with the java startup script because my servers do not generate any logs unlike with java 7. The problem is that I have no idea where the start.sh is located at. If any one of you would know and could help it would be really usefull! Thank you.
Why are you using a Java “startup script” rather than relying on MineOS to invoke Java for you?
I meant to say the server startup script is made to be executed under java 7 on the webui. I’m trying to change the startup command in MineOS so it uses java 8 instead.
MineOS relies on the Linux $PATH variable to decide which Java to use.
In most cases, if upgrading Java, that means the existing Java installation is removed and a new one is put in its place. Then, when invoking Java, whichever is found first is used. Here’s how you can tell which Java is used from the command line:
mc@mineos ~$ which java /usr/bin/java
which returns a value, it is being used by MineOS. Check it’s the version you expect, too:
mc@mineos ~$ java -version openjdk version "1.8.0_102" OpenJDK Runtime Environment (build 1.8.0_102-8u102-b14.1-1~bpo8+1-b14) OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode)
If you still can’t get servers to start, let us know:
a) what distro you’re using
b) how java WAS installed and generally what method did you use to upgrade it (downloaded it manually?
c) as your
non-root user, can you start up the Minecraft instance yourself? (the paths are in the webui)