java problem
Parshwa Murdia
b330bkn at gmail.com
Sun Jan 9 17:23:57 UTC 2011
hi,
I have installed the java (by searching at the net) and just did as
directed. As follows:
[user at localhost ~]$usr/sbin/alternatives --install /usr/bin/java java
/opt/jre1.6.0_20/bin/java 2
[user at localhost ~]$su -c '/sbin/ldconfig'
Then I downloaded jre-6u23-linux-i586.bin from the page:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Now did as follows:
[root at localhost ~]# cd /opt (after becoming root)
[root at localhost ~]# sh /home/user/Download/jre-6u23-linux-i586.bin
[root at localhost ~]# ln -s
/opt/jre1.6.0_23/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/mozilla/plugins/libjavaplugin_oji.so
[root at localhost ~]# gedit /etc/profile.d/java.sh
In the above file, copied the following two lines:
export JAVA_HOME=/opt/jre1.6.0_23
export PATH=$JAVA_HOME/bin:$PATH
then,
[root at localhost ~]# source /etc/profile.d/java.sh
[root at localhost ~]# /usr/sbin/alternatives --install /usr/bin/java java
/opt/jre1.6.0_23/bin/java 2
[root at localhost ~]# /usr/sbin/alternatives --config java
Entered the value of 2 (indication of choice second)
[root at localhost ~]# /usr/sbin/alternatives --display java
[root at localhost ~]# reboot
But the problem is that it is not showing any picture or verification that
java has been installed:
http://www.java.com/en/download/help/testvm.xml (This link is not verifying
that java has been installed).
--
Regards,
Parshwa Murdia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20110109/de3dbcd0/attachment.html
More information about the users
mailing list