JAVA Plugin Won't Work

Chris A Czerwinski chrisczerwinski at cogeco.ca
Mon Dec 15 15:41:11 UTC 2003


On Sun, 2003-12-14 at 22:19, Robert G. (Doc) Savage wrote:
> On Sun, 2003-12-14 at 18:28, Dave Krick wrote:
> > I am fairly new to Linux, and I can't seem to get Java to work.  I've
> > downloaded the plugin and followed the registration instructions, all to
> > no avail.  I've checked that my preferences have it enabled and I've
> > gone in as root to a web site that I know uses it and, when prompted if
> > I want to download it, I've said yes and, after doing it's thing, it
> > tells me that it was downloaded and installed okay.  I'll restart
> > Mozilla and it still won't recognize Java.  
> > 
> > I'm running Fedora Core 1 and Mozilla 1.6.  I had the same situation
> > with Mozilla 1.5 and 1.4.  I have Fedora updated to the latest status.
> > 
> > I would really appreciate it if anyone has any suggestions for me.  If
> > you do, please be detailed in any command line instructions.
> 
> Dave,
> 
> Here's a micro-howto I use. It includes instructions for either J2
> Runtime Edition or J2 System Developer's Kit. Pick one.


> Download latest J2RE or J2SDK from http://java.sun.com
>  
> 1.  $ chmod +x j2re-1_4_2_02-linux-i586-rpm.bin
>     $ chmod +x j2sdk-1_4_2_02-linux-i586-rpm.bin
> 
> 2.  $ ./j2re-1_4_2_02-linux-i586-rpm.bin
>     $ ./j2sdk-1_4_2_02-linux-i586-rpm.bin
> 
> 3.  $ su -
>     Password: ********
>  
> 4.  # rpm -ivh j2re-1_4_2_02-linux.i586.rpm
>     # rpm -ivh j2sdk-1_4_2_02-linux.i586.rpm
>  
> 5.  # cd /usr/lib/mozilla/plugins
>  
> 6.  # ln -s /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
>     # ln -s /usr/java/j2sdk1.4.2_02/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
>  
> 7.  # ls -l
>     total NNNN
>     ...
>     lrwxrwxrwx    1 root     root    72 Dec  2 06:46 libjavaplugin_oji.so -> /usr/java/j2sdk1.4.2_02/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so
>     ...
>  
> That's it.

 or is it?

Hi Robert (Doc),

Great intro to -howto? that's what I like to see for me a newbie at
Fedora, not just "man" something or see link url. These finer points are
what newbies can appreciate and follow instructions and realize that's
it's not just RPM. Not all RPMS are thorough and do what people think
they should simply do. Newbies can now get their linux legs started.
 
A couple of questions to a newbie (me especially) on using RPM's.

How do you know you have Java and which version or want to upgrade?

Should you not check to see if you have Java installed?
and what would that command be ( > rpm -q java) ????

And if you have it, what would be the appropriate command for upgrade 
( > rpm -u or -U *.rpm)

About plugin's - will you still have to modify the links (ln)? and 
will the links stay on reboot?

2nd last point, how can I test to see if Java is executing the proper
version or has been installed? Which comes back to the first question?

Lastly, how do I do a cleanup or remove old/previous version of Java or
I don't - because there may be programs that have been linked to this
dir?

Thanks

Chris Cz

> 
> --Doc Savage
>   Fairview Heights, IL
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list






More information about the fedora-list mailing list