You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/development/java/install-java-on-ubuntu-18-04/index.md
+28-12
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,8 @@ modified: 2019-01-28
10
10
modified_by:
11
11
name: Linode
12
12
published: 2017-05-30
13
-
title: Install Oracle Java SE Development Kit 11 on Ubuntu
13
+
title: How To Install Oracle Java SE Development Kit 11 on Ubuntu 18.04
14
+
h1_title: Installing Oracle Java SE Development Kit 11 on Ubuntu 18.04
14
15
contributor:
15
16
name: Phil Zona
16
17
link: 'https://github.com/pbzona'
@@ -31,36 +32,51 @@ This guide demonstrates installing Oracle's Java Standard Edition Development Ki
31
32
32
33
- You will need root access to your Linode, or a [limited user account](/docs/security/securing-your-server/#add-a-limited-user-account) with `sudo` privileges.
33
34
34
-
-Update your system:
35
+
-Connect to your Linode using a remote desktop sharing system such as a VNC. For more information, see [Install VNC on Ubuntu 18.04](/docs/applications/remote-desktop/install-vnc-on-ubuntu-18-04/) guide.
35
36
36
-
sudo apt update && sudo apt upgrade
37
+
-[Create an Oracle account](https://profile.oracle.com/myprofile/account/create-account.jspx) and download the Oracle JDK 11 .tar.gz [archive] (https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html). Ensure that the Oracle JDK version is the same as the oracle-java11-installer-local [package version] (https://launchpad.net/~linuxuprising/+archive/ubuntu/java/+packages).
37
38
38
39
39
40
## Install Oracle JDK
40
41
41
-
The Linux Uprising [Oracle Java PPA](https://launchpad.net/~linuxuprising/+archive/ubuntu/java) uses packages that include install scripts to download and install the Oracle JDK from Oracle's website. Alternatively, you can manually [download the binaries](https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html).
42
+
The Linux Uprising [Oracle Java PPA](https://launchpad.net/~linuxuprising/+archive/ubuntu/java) uses packages that include install scripts to install the Oracle JDK.
43
+
44
+
1. Update your system:
45
+
46
+
sudo apt update && sudo apt upgrade
47
+
48
+
1. Check that SHA256 checksum of the binary you downloaded matches the [checksum](https://www.oracle.com/webfolder/s/digest/11-0-5-checksum.html):
49
+
50
+
cd Downloads/
51
+
sha256sum jdk-11.0.5_linux-x64*
52
+
53
+
1. Create a `/var/cache/oracle-jdk11-installer-local/` folder, and copy the Oracle JDK 11 .tar.gz from `Downloads` folder to this folder.
0 commit comments