• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to install Oracle Java 10.0.1 on Ubuntu 18.04

{{postValue.id}}

To install Oracle Java 10.0.1 on Ubuntu 18.04
Java is a cross-platform program and it' s used by several developers to build applications and website due to its speed, reliability, and safety. Currently, Java 10, the latest version of the program is gaining more popularity. After several months of testing, Java 9 was finally rolled out in September 2017 and is available on all platforms with newer features and improvements.

Installation

Add a new repository to install an Oracle Java

root@linuxhelp:~# add-apt-repository ppa:linuxuprising/java
 Oracle Java 10 installer 
Java binaries are not hosted in this PPA due to licensing. The packages in this PPA download and install Oracle Java 10 (JDK 10), so a working Internet connection is required.

PPA for https://www.linuxuprising.com/
.
.
Hit:1 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu bionic InRelease               
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease        
Hit:4 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease      
Hit:5 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease
Reading package lists... Done  

After adding a repository, Update the system repository

root@linuxhelp:~# apt-get update
Hit:1 http://ppa.launchpad.net/linuxuprising/java/ubuntu bionic InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://in.archive.ubuntu.com/ubuntu bionic-updates InRelease       
Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease        
Hit:5 http://in.archive.ubuntu.com/ubuntu bionic-backports InRelease     
Reading package lists... Done  

Install an Oracle Java on terminal using this following command

root@linuxhelp:~# apt-get install oracle-java10-installer -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  gsfonts-x11 java-common oracle-java10-set-default
Suggested packages:
  binfmt-support visualvm ttf-baekmuk | ttf-unfonts | ttf-unfonts-core ttf-kochi-gothic
  | ttf-sazanami-gothic ttf-kochi-mincho | ttf-sazanami-mincho ttf-arphic-uming
The following NEW packages will be installed:

Accept the license agreement
agree_license

Accept the license agreement to use the Oracle Java
binary_code_license
.

Preparing to unpack .../gsfonts-x11_0.25_all.deb ...
Unpacking gsfonts-x11 (0.25) ...
Setting up gsfonts-x11 (0.25) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Setting up oracle-java10-set-default (10.0.1-1~linuxuprising+1) ...
Processing triggers for man-db (2.8.2-1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for fontconfig (2.12.6-0ubuntu1) ...

Set Oracle JDK as default, using the following commands.

root@linuxhelp:~# apt install oracle-java10-set-default -y
Reading package lists... Done
Building dependency tree       
Reading state information... Done
oracle-java10-set-default is already the newest version (10.0.1-1~linuxuprising+1).
oracle-java10-set-default set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 489 not upgraded.

Check the version of Oracle Java using the following command

root@linuxhelp:~# java -version
java version " 10.0.1"  2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)

With this, the method to install Oracle Java 10.0.1 on Ubuntu 18.04 comes to an end.

Tags:
oliver
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

What does Oracle Java SE Subscription offer?

A

In addition to Oracle’s award-winning support program, Oracle Java SE Subscription offers
Oracle Java SE licensing and support for cloud deployments, server, and desktop
Access to performance, stability, and security updates directly from Oracle
Access to several Oracle Java SE versions past end of public updates (EoPU)
Oracle Java SE 8 and 7 enterprise management, monitoring, and deployment features
Around-the-clock My Oracle Support with support for 27 languages and fast-fix turnarounds
Access to critical bug fixes before they get included in publicly available releases
Simple monthly subscription pricing

Q

What is the Java Naming Scheme?

A

The goal with the Java brand and naming architecture is easy -- keep it simple! The following terms should always be used at first reference:

Java Platform, Standard Edition
Java Platform, Enterprise Edition
Java Platform, Micro Edition

Q

Is Oracle going to charge for Java?

A

Oracle to charge for Java from Jan 2019. Oracle has announced that “after January 2019”, Java SE 8 public updates will not be available for “business, commercial or production use” without a commercial license.

Q

What is Oracle Java?

A

Java is a cross-platform program and it' s used by several developers to build applications and website due to its speed, reliability, and safety. Currently, Java 10, the latest version of the program is gaining more popularity

Q

How to install Oracle Java 10.0.1 on Ubuntu?

A

Run the following command:
# apt-get install oracle-java10-installer

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help legeek ?
Installation of the call center module

hello

I wish to install a call center in virtual with issabel, I downloaded the latest version of it , but I don' t arrive to install the call center module in issabel. please help me

thanks!

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.