How may I install the right Java Virtual Machine?
24,907
Just install the latest version of Java by opening a Terminal (CTRL + ALT + T) and running
sudo apt-get install openjdk-7-jre
Author by
empedokles
Updated on September 18, 2022Comments
-
empedokles over 1 year
I receive following error in terminal:
No suitable Java Virtual Machine could be found on your system. The version of the JVM must be at least 1.5. Please define INSTALL4J_JAVA_HOME to point to a suitable JVM. You can also try to delete the JVM cache file
I'm using 14.04.
-
agha rehan abbas almost 10 yearswhat was the command to which this error came
-
empedokles almost 10 yearsJust a ./ xxxxx.sh file execution.
-
-
empedokles almost 10 yearsUnfortunately I now receive an error from my .sh installer:
testing JVM in /usr ... Starting Installer ... Aug 01, 2014 7:59:02 PM java.util.prefs.FileSystemPreferences$1 run Information: Created user preferences directory. ago 01, 2014 7:59:32 PM java.util.prefs.FileSystemPreferences syncWorld Avvertenza: Couldn't flush system prefs: java.util.prefs.BackingStoreException: /etc/.java/.systemPrefs/com create failed.
-
jnuk almost 10 yearsTry running the script with root privileges. Just add
sudo
in front of the./
-
empedokles almost 10 yearsI guess a restart did it. I could start it up, but can't open a file with the software.