Closed TraumaER closed 1 year ago
Derp, So apparently Ubuntu is a little more Security conscious than PiOS. The reason why mscs
was unable to see java even though the directory was on the PATH
is because it was in my home directory and it didn't have permission.
Solution: Uninstall sdkman from my user home directory and install it under /usr/local/sdkman
this gave the minecraft
user the ability to see it.
Glad you got it figured out
I've installed java 19 via SDKMan and am able to see and use it, but
mscs
tells me that Java is not found.Error:
I've got the same setup, mscs + sdkman installed java only, on a raspberry pi that is working. However for some reason on my Ubuntu server desktop mscs is unable to find java.
I edited
mscs
andmsctl
to print out thePATH
variable and it shows the bin directory where java is located at, but it's still unable to find it.If I follow the suggestion of
sudo apt-get install default-jre
it is able to find java. However, it'll only ever use Java 11 that is installed that way and not use my Java 19.Any help would be greatly appreciated.
Environment:
Hardware: