filmov
tv
How to set Java path or JAVA HOME on Ubuntu

Показать описание
This video describes the steps to set Java path or JAVA_HOME variables on Ubuntu.
Steps are
1. Open the Ubuntu terminal and run the command
sudo gedit /etc/environment
2. Type your password and press ENTER
3. Write the below line on the file
JAVA_HOME=/usr/lib/jvm/java-8-oracle
4. Save the file.
Steps are
1. Open the Ubuntu terminal and run the command
sudo gedit /etc/environment
2. Type your password and press ENTER
3. Write the below line on the file
JAVA_HOME=/usr/lib/jvm/java-8-oracle
4. Save the file.