JDK Installation

[root@saeree opt]# mkdir -p /opt/java [root@saeree java]# chmod +x jdk-6u7-linux-i586.bin [root@saeree java]# ./jdk-6u7-linux-i586.bin Sun Microsystems, Inc. Binary Code License Agreement
 * Download JDK 1.6.0_07 (recommended), Link to download (Select jdk-6u7-linux-x64.bin for Linux x64 and jdk-6u7-linux-i586.bin for Linux x86)
 * Make /opt/java directory
 * นำไฟล์ jdk-6u7-linux-i586.bin ไปวางไว้ที่ /opt/java directory
 * JDK 1.6.0_07 Setup

for the JAVA SE DEVELOPMENT KIT (JDK), VERSION 6 ... For inquiries please contact: Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A.

Do you agree to the above license terms? [yes or no] yes

...

Java(TM) SE Development Kit 6 successfully installed.

Product Registration is FREE and includes many benefits:
 * Notification of new versions, patches, and updates
 * Special offers on Sun products, services and training
 * Access to early releases and documentation

Product and system data will be collected. If your configuration supports a browser, the Sun Product Registration form for the JDK will be presented. If you do not register, none of this information will be saved. You may also register your JDK later by opening the register.html file (located in the JDK installation directory) in a browser.

For more information on what data Registration collects and how it is managed and used, see: http://java.sun.com/javase/registration/JDKRegistrationPrivacy.html

Press Enter to continue.....

Done. root@saeree java]# ls jdk1.6.0_07 jdk-6u7-linux-i586.bin