Tuesday, November 25, 2014

Installing Oracle Java 8 on Mint 17

Installed oracle java 8.

1. Resouces
http://askubuntu.com/questions/521145/how-to-install-oracle-java-on-ubuntu-14-04

2. Installation

Find current java version.


$ java -version
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

Install a java installer: ppa::webupd8team/java
Go to System > Administration > Software Sources > ppa
Then add ppa::webupd8team/java. $ sudo apt-get update $ sudo apt-get install oracle-java8-installer (Follow the instructions when prompted.) $ java -version java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

Removing ALL ppa repositories from Ubuntu 14.04 / Mint 17

I wanted to remove several ppa repositories from my Mint 17 because I started to get error every time when I ran apt-get update after one of ppa installations failed.

The following attempts failed to remove ppa due to some errors.

(1) Using add-apt-get --remove (or -r) options
(2) Using ppa-purge command
The one worked for me was this:
Go to System > Administration > Software Sources > ppa
Then select one you want to remove and click the remove button.

Installing ppa-purge

I have installed ppa-purge on my Mint 17. 1. Open Synaptic Package Manager. 2. Search for "ppa". 3. Check ppa-purge and apply installation.