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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux