Table of Contents
Table of Contents |
---|
Introduction
This page is based on experience of setting up the Open JDK 8 on Ubuntu 14.04. Much of it may be applicable to other Java versions and distros.
Installation
Run the following commands in order to install or update the Open JDK 8.
Code Block | ||||
---|---|---|---|---|
| ||||
sudo add-apt-repository ppa:openjdk-r/ppa sudo apt-get update sudo apt-get install openjdk-8-jdk |
Plugin
In this example the Mozilla plugin is missing. This is not a big problem if you don't want to use for security reason.
...
The command update-java-alternatives complained also with a missing .java-8-openjdk-i386.jinfo file. I created an appropriate link towards the existing .java-1.8.0-openjdk-i386.jinfo file.
Java Source
When I've installed the Open JDK 8 I realized that the Java source code was not available. Usually below you default-java directory you should see a src.zip file. In my case the src.zip file was a reported broken link towards ../openjdk-8/src.zip.
...