[CentOS] Java installs but won't play -- update

Rainer Traut tr.ml at gmx.de
Tue Apr 17 10:04:44 UTC 2007


hi,

Benjamin Sher schrieb:
> Dear friends:
> 
> I created a symbolic link from /usr/bin/java to ~/.mozilla/plugins/java but 
> still Java does not work. Please see data below.
> 
> Thank you so much.
> 
> Benjamin
> 
> [sher at localhost .mozilla]$ ls
> firefox  mozver.dat  plugins
> [sher at localhost .mozilla]$ cd plugins
> [sher at localhost plugins]$ ls
> flashplayer.xpt  java  libflashplayer.so
> [sher at localhost plugins]$ ls -l
> total 6892
> -rw-r--r-- 1 sher sher     856 Dec 15 13:51 flashplayer.xpt
> lrwxrwxrwx 1 root root       4 Apr 16 16:22 java -> java
> -rwxr-xr-x 1 sher sher 7040080 Dec 15 13:51 libflashplayer.so
> [sher at localhost plugins]$       


Not quite right. You need to symlink the plugin not the java executable:

[root at dsd plugins]# pwd
/usr/lib/mozilla/plugins
[root at dsd plugins]# ll
insgesamt 0
lrwxrwxrwx  1 root root 50 25. Aug 2006  libjavaplugin_oji.so -> 
/opt/java/jre/plugin/i386/ns7/libjavaplugin_oji.so
[root at dsd plugins]#

Hth
Rainer



More information about the CentOS mailing list