Install JAVA under Fedora9 (figure)

Source: Internet
Author: User
Fedora9 is installed with java of the OpenJDK project by default. it can also be easily installed through yum and the effect is good. if you still want to install sun's java, the following lines also include: * openjdksu-c 'yuminstalljava-*-openjdk '* sun's java must first install the required libraries of sun's java: & nbsp

Fedora 9 is installed with java of the OpenJDK project by default. It can also be easily installed through yum and the effect is good. If you still want to install sun's java, the following lines also include:

* Openjdk

Su-c 'yum install java-*-openjdk'

* Sun's java

First, you must install the following libraries required by sun's java:

Su-c 'yum install compat-libstdc ++-33 compat-libstdc ++-1000'

After the library is installed, create the necessary connections:

Su-c '/sbin/ldconfig'

Sun's java (http://java.sun.com/javase/downloads/index.jsp), click the Download button near "java Runtime Environment (JRE) 6 Update 6"

** Note: If you want to use sun's java development kit installation to compile the java program, you need to download the "JDK 6 update 6' file. agree to the User Agreement and download the linux self-extraction file (not the rpm package ). the method is the same as the following. you only need to overwrite jre1.

Select your operating system type (32 or 64). Agree to the User Agreement and press continue

** Note: The following articles are based on the i586 package. If you use 64 as the system, you need to download the linux64 file and replace the file name as needed.

As shown in, you must download linux's self-extracting file (jre-6uu-linux-i585.bin) instead of rpm package.

Related Article

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.