顯示具有 JDK 標籤的文章。 顯示所有文章
顯示具有 JDK 標籤的文章。 顯示所有文章

2009年12月12日 星期六

Install Java 2 SDK on Oracle Enterprise Linux 5

  1. Download the j2sdk from http://java.sun.com/j2se/downloads.html
    For now the version is JDK 6 Update 17
    I choose to download the jdk-6u17-linux-i586.bin
  2. Copy the jdk-6u17-linux-i586.bin to /usr
    cp jdk-6u17-linux-i586.bin /usr
  3. Change owner to root & input password
    su 
  4. Execute the bin file
    cd /usr
    ./jdk-6u17-linux-i586.bin
     
  5. Do you agree to the above license terms? [yes or no]
    yes
  6. The installation is processing, then press Enter you'll see Done and finish the Java 2 SDK installation.