728x90 AdSpace

  • Latest News

    Wednesday, 15 November 2017

    How to install Oracle Java 9 on Lubuntu 17.10

    How to install Oracle Java 9 on Lubuntu 17.10

    Java 9 is the latest stable release of java (JDK), java 9 comes with some new features such as new module system, linking, jshell, improved javadoc, collection factory methods, and so on. In this article i will show you how to install oracle java 9 on lubuntu 17.10 artful.

    Step by step how to install Oracle Java 9 on Lubuntu 17.10
    • open command line/terminal on lubuntu (simply press CTRL + ALT + T)
    • add PPA repository for oracle java
    • sudo apt-add-repository ppa:webupd8team/java
      
    • run update command
    • sudo apt-get update
      
    • install the oracle java 9 installer
    • sudo apt-get install oracle-java9-installer
      
    • wait until the installer finish download and install java 9
    • add JAVA_HOME environment variable
    • export JAVA_HOME=/usr/lib/jvm/java-9-oracle
    • done!

    You can check your java version by running java -version on the terminal, at this point you already have java development kit (JDK) and you are ready to create some java application.

    I need to mention that there are two kind of java, the open source open JDK and the proprietary oracle JDK, you can install both on lubuntu but only one can active at the moment. 

    You can choose which java that will be active on your computer, take a look at my other post on how to switch between oracle jdk and open jdk and vise versa if you interested in that.



    If You Like This Please Leave a Comment Or Share this Post

    Full Softwares Android Apps
    • Blogger Comments
    • Facebook Comments

    0 comments:

    Post a Comment

    Item Reviewed: How to install Oracle Java 9 on Lubuntu 17.10 Rating: 5 Reviewed By: Unknown
    Scroll to Top