Launch server with java 1.8

I have multiple java versions installed on my server. How to specify that I want to launch server with java 1.8 / 8? I’m trying to start nomifactory server. I tried to specify path tk it myself, it did something but still 1 error. I can’t find much online. Some screens provided. Thank you.
No description
No description
No description
No description
No description
6 Replies
Admincraft Meta
Admincraft Meta17mo ago
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 doctorik#0
ProGamingDk
ProGamingDk17mo ago
Ask Ubuntu
Switch between multiple java versions
While installing Android Studio on Ubuntu 14.04 I get the message that my Java version (javac 1.7.0_79) is causing problems. I found a solution of how to install a newer Oracle version of Java: su...
ProGamingDk
ProGamingDk17mo ago
No description
Doctorik
DoctorikOP17mo ago
Isn’t there a way to set it just for this server instance? I don’t feel like changing default version for all programs on server. Good news, it works now.
QarthO
QarthO17mo ago
Yeah, instead of using Java, use the location in the server startup script
Doctorik
DoctorikOP17mo ago
Okay, had to view it on big screen. Didn't see the word java there and thought that there was some black magic f... going on. Thank you for your help.

Did you find this page helpful?