Quick Answer: Where Is My Java_Home Ubuntu?
Contents from the Java Installation That You Use Select the Path up to Jre. E. G. /Usr/Lib/Jvm/Java-8-Oracle/. This Will Become Your Java_Home Path. How Do I...
Contents
From the java installation that you use select the path up to jre . e.g. /usr/lib/jvm/java-8-oracle/ . This will become your JAVA_HOME path.
How do I find my Java home path?
Verify JAVA_HOME
- Open a Command Prompt window (Win⊞ + R, type cmd, hit Enter).
- Enter the command echo %JAVA_HOME% . This should output the path to your Java installation folder. If it doesn’t, your JAVA_HOME variable was not set correctly.
Must Read
Where is JDK installed on Ubuntu?
On my system the default is located at ‘/usr/lib/jvm/java-6-openjdk’. There is also an alternative jdk installed at ‘/usr/lib/jvm/java-6-sun’. If there aren’t any you will need to install the package ‘sun-java6-jdk’ as pointed out in some other post.