Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to install "Open Jdk" (java developement kit) in Ubuntu(Linux)

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 719
    Comment on it

    **Installation of JDK on Ubuntu is very easy just follow below Steps**:

    Java is typically installed in /usr/java locate the version you have and then do the following:

    1. Open Terminal.
    2. Use Command.
    3. sudo apt-get install openjdk-7-jdk
    4. After the installation, Use following command.
      apt-cache search jdk 
    5. For Setting the Environment Variable, open .bashrc file using command.

      vi ~/.bashrc 
    6. Set variable using following Command.
      export JAVA_HOME=/usr/java/jdk1.7.0/bin/java
      export PATH=$PATH:/usr/java/jdk1.7.0/bin
    7. Save and Close .bashrc file.
    8. You Can Check the version and path of Java on your system with the help of following command.
      java -v
      which java

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: