Install Oracle JDK 10 Kubuntu 14.04 Trusty
Hello Kubuntu User! The Tutorial Shows You Step-by-Step How to Install Oracle JDK 10 on Kubuntu 14.04 Trusty LTS GNU/Linux Desktop.
And to SetUp Oracle JDK 10 for Kubuntu 14.04 you will need to Use the update-alternatives Tool to Update your System Java to 1.10.
- A local-variable type inference
- A clean garbage collector interface
- Parallel full garbage collection
- Enabling HotSpot to allocate the object heap on an alternative memory device
- Enabling the Grall Java-based just-in-time compiler experimental in Linux/x64
- Consolidation of the repositories of the JDK forest into a single one
- Application class-data sharing, for executing a callback on threads without performing a global VM safepoint
- Thread-local handshakes
- Provision of a default set of root certificate authority certificates in the JDK
Finally, the Contents and Details of Oracle JDK 10 on Kubuntu 14.04 Install are Expressly Minimal to Give Focus Only to the Essentials Instructions and Commands and Make the Tut Easier to Understand ;)

- Open a Command Line Terminal Window
Kickoff and Search for “term”
(Press “Enter” to Execute Commands) -
Download Oracle Java SE JDK 10 for Linux
-
Double-Click on the tar.gz Archive and Extract into /tmp
Or from Shell:tar xvzf ~/Downloads/jdk-10*.tar.gz -C /tmp/
-
Relocate Java JDK 10
sudo su
If Got “User is Not in Sudoers file” then see: How to Enable sudo
Make a jvm Directory if Not already there withif [ ! -d "/usr/lib/jvm" ]; then mkdir /usr/lib/jvm; fi
Set the root superUser as owner:
sudo chown -R root:root /tmp/jdk-10*
Reiterate the Execution Permission over the Java binaries:
chmod -R +x /tmp/jdk-10*/bin
Finally, Shift the Java contents with:
mv /tmp/jdk-10* /usr/lib/jvm/
-
Installing Oracle Java JDK 10
You can directly Copy & Paste the Commands into Terminal..update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-10*/bin/java 1065
update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-10*/bin/javac 1065
update-alternatives --install /usr/bin/jar jar /usr/lib/jvm/jdk-10*/bin/jar 1065
update-alternatives --install /usr/bin/javaws javaws /usr/lib/jvm/jdk-10*/bin/javaws 1065
Checking or Setting the System Java Version in Use with
update-alternatives --config java
And for the Java Compiler instead:
sudo update-alternatives --config javac
To Switch of Java Version Just Enter the Selection Number on First, Column. :)
-
(Optional) Setting JAVA_HOME User Environment Variable.
su [myUserName]
Or simply:
exit
And Edit the Bash environment Configuration file
nano $HOME/.bashrc
Append:
export JAVA_HOME=/usr/lib/jvm/jdk-10*
Possibly to Check the JDK 10 exact PATH use in another window:
ls /usr/lib/jvm/
Ctr+x to Save & Exit from nano Editor :)
Next to Load the New Bash Environment:bash
-
Finally, Test New Java JDK 10 Installation
java -version
Java IDEs Installation on Kubuntu
Eclipse IDE for Java Development Install on Kubuntu: Installing Eclipse IDE for Java Dev on Kubuntu.
Netbeans IDE for Java Development Install on Kubuntu: Installing NetBeans IDE for Java Dev on Kubuntu.
IntelliJ IDEA 2020 for Java Development Install on Kubuntu: Installing IntelliJ IDEA for Java Dev on Kubuntu.
Now Thanks to Oracle-Sun Corporation You are Able to Successfully Start Up with Java 10 Development.
Tags: gnu, gnu linux, gnu/linux, Guide, How-to, Install, Install JDK 10 Kubuntu 14.04, Install JDK 10 Kubuntu Trusty, install oracle JDK 10 Kubuntu, Install Oracle JDK 10 Kubuntu 14.04, Install Oracle JDK 10 Kubuntu Trusty, install oracle jdk ubuntu, Java, java development kit, java development ubuntu, JDK 10, JDK 10 Kubuntu 14.04, JDK 10 Kubuntu Trusty, Kubuntu, Kubuntu 14.04 Install Oracle JDK 10, Kubuntu 14.04 Oracle JDK 10, Kubuntu 14.04 Oracle JDK 10 Install, Kubuntu 14.04 Oracle JDK 10 Installation, Kubuntu 14.04 Oracle JDK 10 Setup, Kubuntu 14.04 Setup Oracle JDK 10, Kubuntu 14.04 Trusty, kubuntu ide, Kubuntu Trusty Install Oracle JDK 10, Kubuntu Trusty Oracle JDK 10, Kubuntu Trusty Oracle JDK 10 Install, Kubuntu Trusty Oracle JDK 10 Installation, Kubuntu Trusty Oracle JDK 10 Setup, Kubuntu Trusty Setup Oracle JDK 10, Linux, Linux Tutorial, Oracle, oracle java, Oracle JDK 10 Install Kubuntu 14.04, Oracle JDK 10 Install Kubuntu Trusty, oracle JDK 10 Kubuntu, Oracle JDK 10 Kubuntu 14.04, Oracle JDK 10 Kubuntu 14.04 Install, Oracle JDK 10 Kubuntu 14.04 Installation, Oracle JDK 10 Kubuntu 14.04 Setup, Oracle JDK 10 Kubuntu Trusty, Oracle JDK 10 Kubuntu Trusty Install, Oracle JDK 10 Kubuntu Trusty Installation, Oracle JDK 10 Kubuntu Trusty Setup, Oracle JDK 10 Setup Kubuntu 14.04, Oracle JDK 10 Setup Kubuntu Trusty, Tutorial, ubuntu java ide, ubuntu tutorial