Thursday, 18 June 2015

How to install Java on Ubuntu and Updates Java on Ubuntu


How to install Java on Ubuntu and Update it.


Add the webupd8team Java PPA repository in your system and install Oracle Java 8 using following set of commands.

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

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

$ java -version

java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)

Configuring Java Environment:

In Webupd8 ppa repository also providing a package to set environment variables, Install this package using following command.
$ sudo apt-get install oracle-java8-set-default

If you need the latest Oracle Java 6, you install it too:
sudo apt-get install oracle-java6-installer

If you need the latest Oracle Java 6, you install it too:
sudo update-java-alternatives -s java-7-oracle

If you want test Oracle Java 9 early access builds, you can install it too:
sudo apt-get install oracle-java9-installer

6 comments:

  1. I agree with your post. Android software development kit makes the application development process lot simpler and effective. You can create best performing android application with ease. Android Training Institute in Chennai | Best Android Training in Chennai

    ReplyDelete
  2. Good info! Thanks for the great share sounds great to hear about the techs, newbie though, this article helps in Mobile application development in chennai

    ReplyDelete
  3. We at Colan Infotech Private Limited a Mobile application development company in chennai,
    is Situated in US and India, will provide you best service in enterprise mobile app development company and Colan Infotech has a group of exceedingly dedicated,
    inventive and creative experts with an energy for delivering exciting , helpful and stylish Web and Mobile Applications ,
    We work with customers in a wide variety of sectors.
    We design all of our websites and applications using the responsive web design approach.
    Our talented team can handle all the aspects of mobility so we are rated as
    best service provider in Mobile apps development companies in chennai.

    We solidly trust that our customers start things out and there is not a viable alternative for quality of service.
    We offer custom services to a wide range of industries by exceeding our client’s expectations. You can even interact directly with the team regarding your project,
    just as you would with your in-house team. we always desire to solicit our customer's fruitful experience with us,
    we are the top notch Mobile App Development Company in chennai and mobile app development companies in Bangalore.
    We can provide best mobile app development chennai . We can provide cutting edge technology services in Mobile application development in chennai.
    Reach us for mobile app development chennai or just call us for best mobile app developers in chennai .

    ReplyDelete

  4. We at Colan Infotech Private Limited a Mobile application development company in chennai,
    is Situated in US and India, will provide you best service in enterprise mobile app development company and Colan Infotech has a group of exceedingly dedicated,
    inventive and creative experts with an energy for delivering exciting , helpful and stylish Web and Mobile Applications ,
    We work with customers in a wide variety of sectors.
    We design all of our websites and applications using the responsive web design approach.
    Our talented team can handle all the aspects of mobility so we are rated as
    best service provider in Mobile apps development companies in chennai.

    We solidly trust that our customers start things out and there is not a viable alternative for quality of service.
    We offer custom services to a wide range of industries by exceeding our client’s expectations. You can even interact directly with the team regarding your project,
    just as you would with your in-house team. we always desire to solicit our customer's fruitful experience with us,
    we are the top notch Mobile App Development Company in chennai and mobile app development companies in Bangalore.
    We can provide best mobile app development chennai . We can provide cutting edge technology services in Mobile application development in chennai.
    Reach us for mobile app development chennai or just call us for best mobile app developers in chennai .

    ReplyDelete
  5. Thanks for the awesome share
    We at Colan Infotech Private Limited best web design company in chennai,is Situated in US and India,
    will provide you best service in qa testing services
    Design Services and Colan Infotech has a group of exceedingly dedicated, inventive and creative experts with an energy for delivering exciting ,
    helpful and stylish Web and Mobile Applications, We are one of the best software testing services company
    and of course we stepped in bangalore too we are best qa and testing services
    can provide quality assurance and testing services,
    we are the best among the software testing company india

    ReplyDelete