To install JRockit, download the latest Linux x86-64 version from here,
then make the file executable and run it:
++++++++++++++++++++++++++++++++++++
Copying the files to my local directoru i.e "software" directory
+++++++++++++++++++++++++++++++++++++
[fusion@wlsadmin software]$ pwd
/u01/software
[fusion@wlsadmin software]$ cp -r /mnt/hgfs/weblogicsoftware/jrockit-jdk1.6.0_45-R28.2.7-4.1.0-linux-x64.bin . &
[1] 6018
[fusion@wlsadmin software]$ jobs
[1]+ Running cp -r /mnt/hgfs/weblogicsoftware/jrockit-jdk1.6.0_45-R28.2.7-4.1.0-linux-x64.bin . &
[fusion@wlsadmin software]$ jobs
[1]+ Done cp -r /mnt/hgfs/weblogicsoftware/jrockit-jdk1.6.0_45-R28.2.7-4.1.0-linux-x64.bin .
[fusion@wlsadmin software]$ ls -tlrh jrockit-jdk1.6.0_45-R28.2.7-4.1.0-linux-x64.bin
-rwxrwxr-x 1 fusion fusion 125M Feb 10 11:29 jrockit-jdk1.6.0_45-R28.2.7-4.1.0-linux-x64.bin
[fusion@wlsadmin software]$
[fusion@wlsadmin software]$ pwd
/u01/software
[fusion@wlsadmin software]$ chmod +x jrockit-jdk1.6.0_45-R28.2.7-4.1.0-linux-x64.bin
[fusion@wlsadmin software]$ ./jrockit-jdk1.6.0_45-R28.2.7-4.1.0-linux-x64.bin
Extracting 0%....................................................................................................100%
[fusion@wlsadmin software]$
We don't need any domes here ,just click on next button and proceed.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Moving Jrockit directory from jrockit-jdk1.6.0_45-R28.2.7-4.1.0 to Jrockit1.6.0_45
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
[fusion@wlsadmin u01]$ mv jrockit-jdk1.6.0_45-R28.2.7-4.1.0 Jrockit1.6.0_45 &
[1] 6488
[fusion@wlsadmin u01]$ ls -ld Jrockit1.6.0_45
drwxr-xr-x 8 fusion fusion 4096 Feb 10 11:38 Jrockit1.6.0_45
[1]+ Done mv jrockit-jdk1.6.0_45-R28.2.7-4.1.0 Jrockit1.6.0_45
[fusion@wlsadmin u01]$
-----------------------------------------------------------------------
Now set your environment and make sure Java is referencing the JRockit JDK:
----------------------------------------------------------------------------
[fusion@wlsadmin Jrockit1.6.0_45]$ export JAVA_HOME=/u01/Jrockit1.6.0_45
[fusion@wlsadmin Jrockit1.6.0_45]$ export PATH=$JAVA_HOME/bin:$PATH
[fusion@wlsadmin Jrockit1.6.0_45]$ which java
/u01/Jrockit1.6.0_45/bin/java
[fusion@wlsadmin Jrockit1.6.0_45]$
----------------------------------------------------------------------------
Download software and copy to local directory in my case it is "software"
-----------------------------------------------------------------------------
[fusion@wlsadmin software]$ cp -r /mnt/hgfs/weblogicsoftware/wls1036_generic.jar .
[fusion@wlsadmin software]$ ls -tlrh wls1036_generic.jar
-rwxrwxr-x 1 fusion fusion 1020M Feb 10 11:48 wls1036_generic.jar
[fusion@wlsadmin software]$
Starting weblogic software installation
-------------------------------------------------------------
Start up the installer
+++++++++++++++++++++
[fusion@wlsadmin software]$ pwd
/u01/software
[fusion@wlsadmin software]$ $JAVA_HOME/bin/java -d64 -Xmx1024m -jar wls1036_generic.jar
Extracting 0%....................................................................................................100%
[fusion@wlsadmin software]$
+++++++++++++++++++++++++++++
Update your oracle profile or create an environment file with the following:
++++++++++++++++++++++++++++++++++++
export JAVA_HOME=/u01/Jrockit1.6.0_45
export PATH=$JAVA_HOME/bin:$PATH
export MW_HOME=/u01/Middleware_Jrockit
export WLS_HOME=$MW_HOME/wls_10.3.6
[fusion@wlsadmin ~]$ vi wl_jrockit.env
[fusion@wlsadmin ~]$ head wl_jrockit.env
export JAVA_HOME=/u01/Jrockit1.6.0_45
export PATH=$JAVA_HOME/bin:$PATH
export MW_HOME=/u01/Middleware_Jrockit
export WL_HOME=$MW_HOME/wls_10.3
+++++++++++++++++++++++++++++
Set your environment with the new settings:
+++++++++++++++++++++++++++++++++++++
[fusion@wlsadmin ~]$ . ./wl_jrockit.env
[fusion@wlsadmin ~]$ echo $MW_HOME
/u01/Middleware_Jrockit
[fusion@wlsadmin ~]$ echo $WL_HOME
/u01/Middleware/wlserver_10.3
[fusion@wlsadmin ~]$
No comments:
Post a Comment