Home Dev Guides How to Install Oracle Java JDK on Ubuntu

How to Install Oracle Java JDK on Ubuntu



Although Ubuntu comes in with a preinstalled version of Oracle Java JDK, Android Studio requires a newer version to function properly on Linux. We’ve included a full guide on how to update Oracle Java JDk below:

1. Open your application drawer, then search & open Terminal.


2. Insert the following commands into your Terminal and hit Enter:

3. The following message will appear. Hit Enter to begin the process.


4. After a while, the installation will need additional space to complete the update. Type Y and hit Enter to confirm.


5. Accept the oracle Binary Code license terms by selecting Yes.


6. Wait until the updating process is complete.


7.  Use javac -version to see the latest Java JDK version and java -version to see the version of Java installed on your system.


Denis Madroane App junkie, Android developer, proud Freelancer. Passionate about app development and blogging, updated with the new stuff. Likes to think that he's versed in app re-skinning, content writing and social media.


    1. Windows is a closed-source operating system, the majority of which is based only on software developed by Microsoft.Ubuntu is an open-source Linux-based operating system that uses a significant portion of the Debian Linux-based operating system.
      We can’t give you a definitive answer, as it really depends on your or your needs. If you need a simple and fast solution you should go with Windows.On the other hand, if you’re kind of a tech geek that likes to mod everything, then go with Ubuntu.Just be advised that Ubuntu is so much more complicated that windows and will require you to do a fair share of learning.


Your email address will not be published. Required fields are marked *

Powered by WordPress