![]() ![]() You should use your path as per your installation.)įor PATH (Environment Variable) type command as shown below, in Terminal: (Note: /usr/lib/jvm/java-8-openjdk is symbolically used here just for demostration. export JAVA_HOME=/usr/lib/jvm/java-8-openjdk Sudo apt install openjdk-8-source #this is optional, the jdk source codeįor JAVA_HOME (Environment Variable) type command as shown below, in "Terminal" using your installation path. Install the appropriate version with the following command: sudo apt install openjdk-8-jdk Optional: To search available distributions of openjdk, use the following command: apt search openjdk Update repository: sudo add-apt-repository ppa:openjdk-r/ppa # only Ubuntu 17.4 and earlier Open Terminal from Application Dash or press Ctrl+ Alt+ T ![]() How to install Open JDK (Java developement kit) in Ubuntu (Linux)? Referring to Ask Ubuntu question How to set JAVA_HOME for OpenJDK?, ![]()
0 Comments
Leave a Reply. |