From: "Michael Fothergill" <mikef20000@hotmail.com>
To: debian-user@lists.debian.org
Subject: problem making symbolic link to blackdown amd64 java plugin 
library file...
Date: Sat, 11 Aug 2007 13:17:32 +0000
Dear Debianists,
I use Etch 4.0 (r0) AMD64 version on a AMD64 box.  I use Iceweasel.
I removed the gcj java plugin from my browser I had been using because it 
could not run applet properly .....
I then downloaded the amd64 version of blackdown j2re-1.4.2-03.
I then followed the instructions for installing it.
I moved the file into the /usr/local directory.
I then ran
chmod +x j2re-1.4.2-03-linux-amd64.bin
I then did
./j2re-1.4.2-03-linux-amd64.bin
and installed the java files........
BUT
I did all this as root......
Was that naughty?  If it was does anyone know how I uninstall it and start 
again as a user?
I then (still root) did the symbolic link assignment.....
ln -s /usr/local/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so \ 
/usr/lib/mozilla/plugins/
I got the following error message:
localhost:/usr/local# ln -s 
/usr/local/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so \ 
/usr/lib/mozilla/plugins
ln: creating symbolic link ` /usr/lib/mozilla/plugins' to 
`/usr/local/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so': No such 
file or directory
localhost:/usr/local#
I wondered if I had a spelling error etc so I did
localhost:/usr/local# ls -l 
/usr/local/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so
-rw-r--r-- 1 root root 246608 2005-11-23 21:15 
/usr/local/j2re1.4.2/plugin/amd64/mozilla/libjavaplugin_oji.so
localhost:/usr/local#
It seemed to find the file.
But then I began to wonder that installing as root not a user had made the 
plugin library file belong to root and its group and maybe this caused some 
 kind of permission problem that made the ln -s command not work.....
Comments welcome here.
I went in /usr/lib/mozilla/plugins to see what was there:
drwxr-xr-x 2 root root 4096 2007-08-11 13:40 plugins
localhost:/usr/lib/mozilla# cd plugins
localhost:/usr/lib/mozilla/plugins# ls -l
total 0
lrwxrwxrwx 1 root root 36 2007-03-23 23:02 libtotem-basic-plugin.so -> 
../../totem/libtotem-basic-plugin.so
lrwxrwxrwx 1 root root 37 2007-03-23 23:02 libtotem-basic-plugin.xpt -> 
../../totem/libtotem-basic-plugin.xpt
lrwxrwxrwx 1 root root 38 2007-03-23 23:02 libtotem-complex-plugin.so -> 
../../totem/libtotem-complex-plugin.so
lrwxrwxrwx 1 root root 39 2007-03-23 23:02 libtotem-complex-plugin.xpt -> 
../../totem/libtotem-complex-plugin.xpt
lrwxrwxrwx 1 root root 34 2007-03-23 23:02 libtotem-gmp-plugin.so -> 
../../totem/libtotem-gmp-plugin.so
lrwxrwxrwx 1 root root 35 2007-03-23 23:02 libtotem-gmp-plugin.xpt -> 
../../totem/libtotem-gmp-plugin.xpt
lrwxrwxrwx 1 root root 36 2007-03-23 23:02 libtotem-mully-plugin.so -> 
../../totem/libtotem-mully-plugin.so
lrwxrwxrwx 1 root root 37 2007-03-23 23:02 libtotem-mully-plugin.xpt -> 
../../totem/libtotem-mully-plugin.xpt
lrwxrwxrwx 1 root root 42 2007-03-23 23:02 libtotem-narrowspace-plugin.so 
-> ../../totem/libtotem-narrowspace-plugin.so
lrwxrwxrwx 1 root root 43 2007-03-23 23:02 libtotem-narrowspace-plugin.xpt 
-> ../../totem/libtotem-narrowspace-plugin.xpt
localhost:/usr/lib/mozilla/plugins#
Comments appreciated on fixing this.