Difference between revisions of "Install Oracle Java JRE on Ubuntu Linux"
(importing article from wikihow) |
m (Text replacement - "<br><br>" to "") |
||
Line 51: | Line 51: | ||
#* '''Type/Copy/Paste:''' sudo nano /etc/profile | #* '''Type/Copy/Paste:''' sudo nano /etc/profile | ||
#Scroll down to the end of the file using your arrow keys and add the following lines below to the end of your /etc/profile file: | #Scroll down to the end of the file using your arrow keys and add the following lines below to the end of your /etc/profile file: | ||
− | #* '''Type/Copy/Paste:''' | + | #* '''Type/Copy/Paste:'''JAVA_HOME=/usr/local/java/'''jre1.8.0_73'''<br>PATH=$PATH:$HOME/bin:$JAVA_HOME/bin<br>export JAVA_HOME<br>export PATH |
#Save the /etc/profile file and exit. | #Save the /etc/profile file and exit. | ||
#Inform your Ubuntu Linux system where your Oracle Java JRE is located. This will tell the system that the new Oracle Java version is available for use. | #Inform your Ubuntu Linux system where your Oracle Java JRE is located. This will tell the system that the new Oracle Java version is available for use. |