Posted By:
Saimon_Moore
Posted On:
Wednesday, April 18, 2001 02:45 AM
Let's assume you're using Sun's JDK 1.3 and you've installed the jdk in usr/local/jdk1.3. (BTW you can istall using the rpm file..rpm -i nameofrpmfile or by extracting the tar.gz file..either way they usually default to something like the above directory). If you're using bash then as root edit .profile in /etc and add lines like the following:
"JAVA_HOME=/usr/local/jdk1.3"
"export JAVA_HOME"
"PATH = $JAVA_HOME/bin:$PATH"
"export PATH"
"CLASSPATH=$JAVA_HOME/lib/tools.jar"
"export CLASSPATH"
without the quotes....
If all goes well when you type:
java -version
you should see Suns JDK 1.3 message.
Be carefull though. Many linux distributions come with other java vrm's or compilers installed. To use you're jdk, it must be added to the path before the other vrm or you can simply remove all reference to it.
If you're using IBM's jdk..use lib/classes.zip instead of tools.jar
As for weblogic server...I've never installed it myself..so I can't help you there...Good luck