Jdk-6u45-linux-x64.bin installation (Ameoba for MySQL)

Source: Internet
Author: User


Jdk-6u45-linux-x64.bin installation (Ameoba for MySQL)


1. Download: Jdk-6u45-linux-x64.bin

Http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html


2. Next, log in to the Linux system and give the EXECUTE permission with the following command:

# Chmod-r 775 Jdk-6u45-linux-x64.bin


3. Perform the installation of the JDK.

#./jdk-6u45-linux-x64.bin


During the installation process, you will be prompted to press Enter and hit enter. Generates a jdk1.6.0_45 file in the current directory of Linux.

The JDK installation is complete.


4. Configure the environment variables.

The configuration of environment variables is divided into several ways, depending on your choice of configuration:

Mode one: Configure Java_home and PATH and Class_path in the/etc/profile file

Because such a setting will work for the user's shell, it will have an impact on system security.

is at the end of this file add:

Export java_home=/home/software/jdk1.6.0_45

Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar

Export path= $PATH: $JAVA _home/bin

Way two:

Modify the. bashrc file to configure environment variables:

#vi. BASHRC

Export java_home=/home/software/jdk1.6.0_45

Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar

Export path= $PATH: $JAVA _home/bin

After the configuration is complete, use the logout command to exit and then log back in to make it effective.

Verify that the installation is successful and use java-version to view it.


[Email protected] ~]# java-version

Java Version "1.6.0_45"

Java (TM) SE Runtime Environment (build 1.6.0_45-b06)

Java HotSpot (TM) 64-bit Server VM (build 20.45-b01, Mixed mode)


Reference Links:

Http://www.cnblogs.com/caosiyang/archive/2013/03/14/2959087.html

http://blog.csdn.net/lishoubin_198308/article/details/8169342




This article is from the "SQL Server MySQL" blog, so be sure to keep this source http://dwchaoyue.blog.51cto.com/2826417/1557616

Jdk-6u45-linux-x64.bin installation (Ameoba for MySQL)

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.