Install SunJava in Ubuntu12.04

Source: Internet
Author: User
For some reason, SunJava cannot be obtained from the Ubuntu software library and replaced by OpenJDK. However, if OpenJDK runs some programs, problems may occur. Therefore, SunJava is required. The following describes how to install SunJava in Ubuntu12.04: now retrieve SunJava again: $ sudoapt-add-repositoryppa: flexiondotorg/java $

For some reason, Sun Java cannot be obtained from the Ubuntu software library.
Instead, OpenJDK
However, problems may occur when OpenJDK runs some programs.
Therefore, Sun Java is still required.

The following describes how to install Sun Java in Ubuntu 12.04:

Now retrieve Sun Java again:

$ Sudo apt-add-repository ppa: flexiondotorg/java

$ Sudo apt-get update

$ Sudo apt-get install sun-java6-jre sun-java6-jdk sun-java6-plugin

In this way, Sun Java can be reinstalled.

For more information about Ubuntu, see Ubuntu special page http://www.linuxidc.com/topicnews.aspx? Tid = 2 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.