Java-en
From WikiDoc
You can download JDK 6u1 (Linux self-extracting file) from here http://java.sun.com . It include JDK and JRE.
$ sh jdk-6*.bin $ su # updateos -i glibc-solibs xinetd # mv jdk* /opt/ # mkdir /opt/java # ln -sf /opt/jdk*/* /opt/java/
Create a file called jdk.csh
# vi /etc/profile.d/jdk.csh
and paste these in jdk.csh
#!/bin/csh
setenv JAVA_HOME /opt/java
setenv MANPATH ${MANPATH}:/opt/java/man
setenv PATH ${PATH}:/opt/java/bin:/opt/java/jre/bin
Save jdk.sh and call this
# chmod +x /etc/profile.d/jdk.csh
Create a file called jdk.sh
# vi /etc/profile.d/jdk.sh
and paste these in jdk.sh
#!/bin/sh export JAVA_HOME=/opt/java export MANPATH="$MANPATH:/opt/java/man" export PATH="$PATH:/opt/java/bin:/opt/java/jre/bin"
Save jdk.sh and call this
# chmod +x /etc/profile.d/jdk.sh # reboot
For RMI paste in /etc/services this
rmid 1098/tcp #Java RMI
Plugin for Browser
# ln -sf /opt/java/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-plugins/libjavaplugin_oji.so
--Xyz 02:10, 3 August 2008 (CEST)

