Solaris 11 JDK installation
Posted
by user20121221
on Oracle Blogs
See other posts from Oracle Blogs
or by user20121221
Published on Tue, 4 Sep 2012 21:04:53 +0000
Indexed on
2012/09/04
21:45 UTC
Read the original article
Hit count: 270
/Oracle
JAVA -JDK install on Solaris 11
-
pkg list -s jdk-7
-
pkg install jdk-7
-
ls /usr/jdk/instances
jdk1.5.0 jdk1.6.0
-
mv jdk1.7.0_07 /usr/jdk/instances/jdk1.7.0
-
ls -l
total 9
drwxr-xr-x 5 root bin 5 Sep 4 16:08 instances
lrwxrwxrwx 1 root root 18 Jul 14 11:11 jdk1.6.0_26 -> instances/jdk1.6.0
lrwxrwxrwx 1 root root 8 Sep 4 16:09 latest -> jdk1.6.0
drwxr-xr-x 4 root bin 4 Jul 14 11:04 packages
-
rm latest
-
ln -s instances/jdk1.7.0 jdk1.7.0_07
-
ln -s jdk1.7.0_07 latest
-
cd /usr/
-
ls -ld java
lrwxrwxrwx 1 root root 12 Sep 4 16:12 java -> jdk/jdk1.6.0
-
rm java
-
ln -s jdk/latest java
-
java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Server VM (build 23.3-b01, mixed mode)
-
stop firefox
cd /usr/lib/firefox/plugins
rm libnpjp2.so
ln -s /usr/jdk/jdk1.7.0_07/jre/lib/i386/libnpjp2.so libnpjp2.so
start firefox
© Oracle Blogs or respective owner