As the title suggests, my fresh install of jME3 SDK on Ubuntu 13.10 says it “cannot find java”.
Does anyone know, is the statement on the Downloads page (hub.jmonkeyengine.org/downloads/) that the “jMonkeyEngine SDK comes bundled with a compatible JDK, there is no need to install any additional software” accurate?
As far as I know it tries to use a installed one if aviable and falls back to bundled else.
Maybee there is something making it believe there is one installed already?
@Empire Phoenix said:
As far as I know it tries to use a installed one if aviable and falls back to bundled else.
Maybee there is something making it believe there is one installed already?
Is a java in the path?
There is no working javac accessible via $PATH.
@normen said:
The JDK is included, when and how do you get this message?
When attempting to run jmonkeyplatform after what appears to be a successful install.
The underlying problem seems to be that while the /usr/local/jmonkeyplatform/bin/jmonkeyplatform shell script has been installed with execute permissions for ordinary users, the bundled Oracle JDK has been installed with only read permissions for ordinary users. So when an ordinary user runs the jmonkeyplatform script, the JMonkey version of Netbeans will start up and then vomit the rather misleading error message “cannot find java” when it realises that it can’t use the java executables it has actually found.
There were several factors, but the most immediate was that I was intending to install jME3 SDK in a system folder, for all users, not just in my home directory, for me.