java problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,

I have installed the java (by searching at the net) and just did as directed. As follows:

[user@localhost ~]$usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.6.0_20/bin/java 2

[user@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@localhost ~]# cd /opt (after becoming root)

[root@localhost ~]# sh /home/user/Download/jre-6u23-linux-i586.bin

[root@localhost ~]# ln -s /opt/jre1.6.0_23/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
[root@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@localhost ~]# source /etc/profile.d/java.sh
[root@localhost ~]# /usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.6.0_23/bin/java 2
[root@localhost ~]# /usr/sbin/alternatives --config java
                                                                                   Entered the value of 2 (indication of choice second)
[root@localhost ~]# /usr/sbin/alternatives --display java
[root@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
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux