• Home
  • Ubuntu 16.04
    • Whats New ?
    • Install JAVA 8
    • Setup LAMP Stack
    • Install LEMP Stack
    • Install Node.js
    • Install Git
    • Move Unity Launcher to Bottom
  • FeedBack
  • Funny Tools
  • Tutorials
    • Linux Distributions
      • CentOS
      • Debian
      • Fedora
      • LinuxMint
    • Monitoring Tools
      • Monit
      • Nagios
      • NRPE
    • Network Services
      • DHCP
      • DNS
      • FTP
    • Databases
      • MySQL
      • MariaDB
      • MongoDB
      • PostgreSQL
      • SQL Server
    • Amazon Web Services
  • Submit Article
  • About Us
TecAdmin.net
  • Home
  • Ubuntu 16.04
    • Whats New ?
    • Install JAVA 8
    • Setup LAMP Stack
    • Install LEMP Stack
    • Install Node.js
    • Install Git
    • Move Unity Launcher to Bottom
  • FeedBack
  • Funny Tools
  • Tutorials
    • Linux Distributions
      • CentOS
      • Debian
      • Fedora
      • LinuxMint
    • Monitoring Tools
      • Monit
      • Nagios
      • NRPE
    • Network Services
      • DHCP
      • DNS
      • FTP
    • Databases
      • MySQL
      • MariaDB
      • MongoDB
      • PostgreSQL
      • SQL Server
    • Amazon Web Services
  • Submit Article
  • About Us
28 June 2014

How to Install Oracle Java 6 (JDK 6u45) In Ubuntu & LinuxMint Via PPA

Written by Rahul K. | June 28, 2014
JAVA install java, java, java6, jdk, jre

This article will help you to Install Oracle JAVA 6 (JDK/JRE 6u45) on Ubuntu 14.10, 14.04 LTS and 12.04 LTS and LinuxMint systems using PPA File. To Install higher version (Java 7 or 8) on your system using following links.

Install Java JDK/JRE 7 on Ubuntu
Install Java JDK/JRE 8 on Ubuntu

linux-with-java

Step 1: Install Java 6 (JDK/JRE 6)

Add the webupd8team java PPA repository in our system and install Oracle java8 using following set of commands.

$ sudo add-apt-repository ppa:webupd8team/java
$ sudo apt-get update
$ sudo apt-get install oracle-java6-installer

Step 2: Verify JAVA Version

After successfully installing oracle java using above step verify installed version using following command.

$ java -version

java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

Step 3: Setup JAVA Environment

Webupd8team is providing a package to set environment variables, Install this package using following command.

$ sudo apt-get install oracle-java6-set-default

References:
https://launchpad.net/~webupd8team/+archive/java

Share it!
Share on Facebook
Share on Twitter
Share on Google+
Share on Reddit
Share on Tumblr
Rahul K.
Rahul K.
Connect on Facebook Connect on Twitter Connect on Google+

I, Rahul Kumar am the founder and chief editor of TecAdmin.net. I am a Red Hat Certified Engineer (RHCE) and working as an IT professional since 2009..

Related Posts

  • How to Install Java 10 (18.03) on CentOS/RHEL 7/6, Fedora 27/26

  • Installing Java on Ubuntu

  • How to Install JAVA 8 on Ubuntu 18.04/16.04, LinuxMint 18/17

  • How to Install OpenJDK JAVA 9/8 in Ubuntu and Debian

  • How to Install JAVA 9 on CentOS/RHEL 7/6, Fedora 27/26/25

1 Comment

  1. Anonymous Reply to Anonymous
    May 14, 2017 at 4:53 am

    Thank you.

Leave a Reply

Cancel reply

Popular Posts

  • How to Install JAVA 8 on Ubuntu 18.04/16.04, LinuxMint 18/17
  • How to Install s3cmd in Linux and Manage Amazon s3 Buckets
  • How to Install AnyDesk on Ubuntu, Debian and LinuxMint (Alternative of TeamViewer)
  • How to Setup Selenium with ChromeDriver on Ubuntu 16.04
  • How to Install MySQL on macOS Sierra and High Sierra
All rights reserved. © 2013-2018 TecAdmin.net. This site uses cookies. By using this website you agree our term and services