Whenever we install operating system default java is installed with it.
[fusion@wlsadmin jdk1.7.0_45]$ which java
/usr/bin/java
[fusion@wlsadmin jdk1.7.0_45]$ /usr/bin/java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[fusion@wlsadmin jdk1.7.0_45]$ export JAVA_HOME=/u01/jdk1.7.0_45
[fusion@wlsadmin jdk1.7.0_45]$ export PATH=$JAVA_HOME/bin:$PATH
[fusion@wlsadmin jdk1.7.0_45]$ which java
/u01/jdk1.7.0_45/bin/java
[fusion@wlsadmin jdk1.7.0_45]$
=====================
Now start weblogic server installation.
===================
++++++++++++++++
Demonstration With Screenshot
+++++++++++++++++++
[fusion@wlsadmin jdk1.7.0_45]$ which java
/usr/bin/java
[fusion@wlsadmin jdk1.7.0_45]$ /usr/bin/java -version
java version "1.4.2"
gij (GNU libgcj) version 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[fusion@wlsadmin jdk1.7.0_45]$ export JAVA_HOME=/u01/jdk1.7.0_45
[fusion@wlsadmin jdk1.7.0_45]$ export PATH=$JAVA_HOME/bin:$PATH
[fusion@wlsadmin jdk1.7.0_45]$ which java
/u01/jdk1.7.0_45/bin/java
[fusion@wlsadmin jdk1.7.0_45]$
=====================
Now start weblogic server installation.
===================
++++++++++++++++
Demonstration With Screenshot
+++++++++++++++++++
No comments:
Post a Comment