Skip to content

Instantly share code, notes, and snippets.

@RidaRidss
Last active October 7, 2017 09:55
Show Gist options
  • Save RidaRidss/0c599735addb08962d4c918e4e22a9ee to your computer and use it in GitHub Desktop.
Save RidaRidss/0c599735addb08962d4c918e4e22a9ee to your computer and use it in GitHub Desktop.
    1. configure jdk using terminal :

            sudo apt-get install openjdk-8-jdk

     2. Cache to install from ubuntu system , if you have configure earlier

            apt-cache search jdk

    3.  Run

       1. jdk

       2. whereis java

     4. Set path for Java Home using terminal

       1. export JAVA_HOME=/usr/lib/jvm/java-8-openjdk

       2. export PATH=$PATH:/usr/lib/jvm/java-8-openjdk/bin

     5. check version

         javac -version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment