Thursday, March 27, 2008

jdk 1.6 installation in solaris spark 10 machine (64 bit)

remove all previous installation of jdk

## find out the all pkg of jdk using :
pkginfo | grep JDK

##then remove all listed.
using the command:
pkgrm SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo


Installation:

http://java.sun.com/javase/6/webnotes/install/jdk/install-solaris.html

unzip using the command:
zcat jdk-1_6_0-solaris-sparc.tar.Z | tar -xf -

1. first install 32 bit version jdk1.6
pkgadd -d . SUNWj6rt SUNWj6dev SUNWj6cfg SUNWj6man SUNWj6dmo

2. then install 64 bit version
pkgadd -d . SUNWj6rtx SUNWj6dvx SUNWj6dmx


also see the following url:
http://www.java.com/en/download/help/5000010700.xml

No comments: