java problem

Mauriat Miranda mlists at mjmwired.com
Mon Jan 10 14:03:14 UTC 2011


On Sun, Jan 9, 2011 at 12:23 PM, Parshwa Murdia <b330bkn at gmail.com> wrote:
> 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
>

The instructions you have followed are most definitely outdated.
Possibly you had errors as well, you have both v20 and v23 listed
above.  Also a reboot is *not* required.

According to:
http://www.oracle.com/technetwork/java/javase/manual-plugin-install-linux-136395.html
the correct plugin is "libnpjp2.so".

This has been answered before on the Fedora mailing list:
http://lists.fedoraproject.org/pipermail/users/2010-December/388068.html

-- 
Mauriat Miranda
http://www.mjmwired.net/linux


More information about the users mailing list