Sunday, 27 January 2019

How to install java 1.8 in ubuntu and how to set it as default Java version

                    In this post, we will see "How to install java 1.8 in ubuntu and how to set it as default Java version".

                  Follow the following steps: 


Step 1. Add the repository
    sudo add-apt-repository ppa:webupd8team/java
Step 2. Update apt-get
    sudo apt-get update
Step 3: Install Java 8 and set it as default
    sudo apt-get install oracle-java8-set-default
To Check version of installed Java:
    java -version

1 comment:

  1. I watched vedo videos as you can make money in and decided to try it myself arge slot online and was pleasantly surprised so I advise

    ReplyDelete