From: "Michael Fothergill" <[EMAIL PROTECTED]>
To: debian-user@lists.debian.org
Subject: RE: problem making symbolic link to blackdown (fixed) but a now a
new problem..
Date: Sat, 11 Aug 2007 15:56:12 +0000
From: "Michael Fothergill" <[EMAIL PROTECTED]>
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.
Wait a minute.... Forget all this. I read the documentation for a generic
install from the blackdown site and forgot about the debian installation
process.....
I deleted the manual installation I did.
I did
apt-get install java-package
I then did the fakeroot command:
[EMAIL PROTECTED]:~/java/blackdown$ fakeroot make-jpkg
j2re-1.4.2-03-linux-amd64.bin
Creating temporary directory: /tmp/make-jpkg.Gdifk15787
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh ibm-j2re.sh
ibm-j2sdk.sh j2re.sh j2sdk-doc.sh j2sdk.sh j2se.sh sun-j2re.sh
sun-j2sdk-doc.sh sun-j2sdk.sh
Detected Debian build architecture: amd64
Detected Debian GNU type: x86_64-linux-gnu
No matching plugin was found.
Removing temporary directory: done
[EMAIL PROTECTED]:~/java/blackdown$ ls
INSTALL-j2re j2re-1.4.2-03-linux-amd64.bin
j2re-1.4.2-03-linux-amd64.bin.sign LICENSE README
[EMAIL PROTECTED]:~/java/blackdown$
It didn't make the deb file....
What is this missing matching plugin?
Does anyone know?
I note from one web page I have read that the "no matching plugin was found"
can occur with the make-jpkg command if you are using an old version of
java-package.
THis was defined as older than 0.24. I am using 0.28.
Regards
Michael Fothergill
Regards
Michael Fothergill
Regards
Michael Fothergill
_________________________________________________________________
The next generation of Hotmail is here! http://www.newhotmail.co.uk
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a
subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
_________________________________________________________________
The next generation of Hotmail is here! http://www.newhotmail.co.uk
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a
subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
_________________________________________________________________
Get Pimped! FREE emoticon packs from Windows Live -
http://www.pimpmylive.co.uk
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]