daniel at gimpelevich.san-francisco.ca.us
Sun Sep 17 18:35:58 PDT 2006
On Sun, 17 Sep 2006 12:03:12 -0700, John Andrews wrote:
> I'm having trouble figuiring out how to make the Nzclient work. I read the Fc5
> installation notes that you suggested and they said to install Jre-1.5.0_08
I didn't see /opt mentioned in the Java instructions there...
> fc5.rpm from the Sun web site. Which I did. It said put it in the /opt
> directory and make a link to the mozilla plugins.Here's what I did on the
> terminal.[jla at localhost ~]$ su
> [root at localhost jla]# cd /opt
> [root at localhost opt]# chmod +x *-linux-i586.bin
> chmod: cannot access `*-linux-i586.bin': No such file or directory
> [root at localhost opt]# ls
> jre-1_5_0_08-linux-i586.rpm nzclient
> [root at localhost opt]# chmod +x *-linux-i586.rpm
> [root at localhost opt]# ./*.rpm
> bash: ./jre-1_5_0_08-linux-i586.rpm: cannot execute binary file
> [root at localhost opt]# man rpm
> Formatting page, please wait...
> [root at localhost opt]# rpm -ivh jre-1_5_0_08-linux-i586.rpm
> Preparing... ########################################### [100%]
> package jre-1.5.0_08-fcs is already installed
Why is the RPM file in /opt? Get rid of it.
> In this next section I am verifying that Jre1.5.0_08 is installed
> in /usr/java/jre1.5.0_08. and there are two plugins called ns7 and ns7-gcc29.
> Both are libjavaplugin_oji.so.
The ns7-gcc29 will be pretty much useless to you. The other one will
enable Firefox to use Java, if Firefox can find it. Unrelated browsers
such as Konqueror or Opera would not be affected.
> [jla at localhost jre1.5.0_08]$ cd plugin
> [jla at localhost plugin]$ pwd
> [jla at localhost plugin]$ ls -l
> total 16
> drwxr-xr-x 2 root root 4096 Sep 16 21:17 desktop
> drwxr-xr-x 4 root root 4096 Sep 16 21:17 i386
> [jla at localhost plugin]$ cd i386
> [jla at localhost i386]$ ls -l
> total 16
> drwxr-xr-x 2 root root 4096 Sep 16 21:17 ns7
> drwxr-xr-x 2 root root 4096 Sep 16 21:17 ns7-gcc29
> [jla at localhost i386]$ cd ns7
> [jla at localhost ns7]$ ls -l
> total 112
> -rwxr-xr-x 1 root root 102464 Jun 28 03:49 libjavaplugin_oji.so
> [jla at localhost ns7]$ ls
> [jla at localhost ns7]$ cd ..
> [jla at localhost i386]$ cd ns-7-gcc29
> bash: cd: ns-7-gcc29: No such file or directory
> [jla at localhost i386]$ cd ns7-gcc29
> [jla at localhost ns7-gcc29]$ ls
> [jla at localhost ns7-gcc29]$ cd ..
> [jla at localhost i386]$ cd ..
> [jla at localhost plugin]$ ls
> desktop i386
> What is this desktop file?
It's to open a little window where certain Java settings may be adjusted.
> [jla at localhost plugin]$ cd desktop
> [jla at localhost desktop]$ ls
> sun_java.desktop sun_java.png
> [jla at localhost desktop]$ cat sun_java.desktop
> [Desktop Entry]
> Comment=Java Control Panel
> These were his instructions to make the link.
> * Type: ln
> -s /opt/jre1.5.0_08/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
> (Note that by default Firefox looks in /usr/lib/mozilla/plugins for its
> plugins. If you have trouble with your plugins in Firefox you could
> substitute "firefox-126.96.36.199" or your most recent firefox directory name in
> place of "mozilla" in the above command.) Hit enter. Close the terminal.
> Restart Firefox to enable the java plugin.
Substitute /usr/java for /opt there.
> This is the file for the Nz icon on the desktop.Can it be edited to work
> right? What is Path=?
I doubt that matters, but the Exec= should probably include kdesu so that
you don't have to log in as root.
> [Desktop Entry]
> Name[en_US]=NetZero Internet
> I'm sort of confused at this point since it doesn't let me install another Jre
> in the /opt directory. How would you link to /usr/java/jre1.5.0_08/plugin?
You don't need a second one in /opt when you have a perfectly usable one
in /usr/java. As I said above, the link to the plugin is only for Firefox,
and is independent of anything else (such as NZ) seeing the Java
installation. Instructions for that are at the link Rick included and I
More information about the conspire