Tuesday, January 27, 2009

Installing Java on linux

Simplify installing java on linux; that is:
  • Download the new version of JDK (jdk-6u11-linux-i586-rpm.bin when i am posting this blog) on Sun Microsystem site.
  • enter on terminal / console and type su
  • login on your linuk OS as root
  • type sh ./jdk-6u11-linux-i586-rpm.bin















  • press key (CTRL-C)
  • type yes for answer agreement
  • Wait while installation on progress









  • and done
check java version
$ java -version

if java version different from instalaion change the version with
export JAVA_HOME=/usr/java/jdk1.6.0_11
export PATH=/usr/java/jdk1.6.0_11/bin



and congrutulation ...!...

1 comment:

  1. weh...mohon ajari aku take'
    saiki geleme sing gratisan kie hehhe
    blognya apik dan mendidik..sesuk ditambahi tutorial sing gampang2 mas

    ReplyDelete