Daily Ubuntu / Linux news and application reviews.

Java ARM

Starting today, both Oracle Java 7 and Java 8 (JDK) installers available in the WebUpd8 Java PPA support ARM.

Oracle Java 7 supports ARM v6/v7 Hard Float and Soft Float ABI while Oracle Java 8 only supports ARM v6/v7 Hard Float ABI (there's no JDK 8 ARM Soft Float ABI archive available for download on Oracle's website).

Currently, the Oracle installer ARM support should be considered experimental because I've tested it on a single device (ARM v7 v7 Hard Float). If you encounter bugs, report them here or via email (see the Contact page above).

Please note that the browser plugin, javaws and jvisualvm are not available in Oracle JDK7 and JDK8 so obviously, they won't be installed by the WebUpd8 Oracle Java installer.

Install Oracle Java 7 or Java 8 in Ubuntu / Linux Mint / Debian via PPA


Oracle Java 8 is available as an early access release so it's recommended you use Oracle Java 7 instead. Furthermore, the Oracle servers for JDK 8 are usually very slow and the download may not be successful, causing the package installation to fail - if that occurs, you can try to manually download the .tar.gz and place it under /var/cache/oracle-jdk8-installer, then the installer should use the local file instead of downloading it.

To add the WebUpd8 Oracle Java (JDK) PPA in Ubuntu or Linux Mint, use the following commands:
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update

Then, to install Oracle Java 7 (JDK7) in Ubuntu or Linux Mint, use the following command:
sudo apt-get install oracle-java7-installer

Or, to install Oracle Java 8 (JDK8), run the following command in a terminal:
sudo apt-get install oracle-java8-installer

If you use Debian, use the commands below to add the WebUpd8 Oracle Java repository (PPA):
su -
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" | tee -a /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
apt-get update

(Debian) And then, install Oracle Java 7:
apt-get install oracle-java7-installer

(Debian) Or Oracle Java 8:
apt-get install oracle-java8-installer

Also see:

image via
«
Next
Newer Post
»
Previous
Older Post