Java

David McGlone david at dmcentral.net
Thu Apr 16 03:02:03 UTC 2009


On Wednesday 15 April 2009 8:11:04 pm Ian L. Target wrote:
> David McGlone wrote:
> > <snipped like a bad circumcison>
> >
> > Are you sure it works in konqueror? I bet if you follow the link I sent,
> > it doesn't work, and konqueror will sit there with "loading applet" like
> > forever then time out with "applet failed".
> >
> > So get mean all you want, I know what I'm talking about :-)
> >
> > Blessings,
> > David M.
>
> Yes, the Java works in Konqueror.  Yes, I checked the URL you gave me,
> along with a couple of others.  I guess if I didn't have so much
> homework, I'd uninstall the Sun Java and install the GPL or whatever
> version you mentioned.  It isn't really that big of a deal, more of a
> curiosity than anything.  I just thought it strange that it would work
> in one and not the other.
>
> I am going to leave it as is for now.  When (if) I switch Javas, I'll
> post my results.
>
> Thanks for the input.

It only takes a couple seconds to fix it up. 
You probably only need to install the sun-java6-plugin or the sun-java5-
plugin.

just open synaptic or adept or whatever package manager you use and check to 
see if sun-java5-bin or sun-java6-bin is installed, should also have the 
corresponding sun-java(5) or (6)-jre package installed then make sure the 
corresponding plugin package is installed if it isn't install the plugin.

If all this is installed, then there is a different problem.

You can check if firefox  even knows that java is installed by typing 
about:plugins in the firefox location bar.

if then firefox does not report any java versions in the about:plugins then do 
this:

open a terminal and type:

locate libjavaplugin_oji.so

You will probably see something like:
/usr/lib/jvm/java-6-sun-1.6.0.10/jre/plugin/i386/ns7/libjavaplugin_oji.so

If you do then you need to make a symlink to libjavaplugin_oji.so. for example 
let us imagine your plugin is in the same directory as above, which I'm 
positive it will be, then to create the symlink type in a console:

mkdir .mozilla/plugins

ln -s /usr/lib/jvm/java-6-
sun-1.6.0.10/jre/plugin/i386/ns7/libjavaplugin_oji.so .mozilla/plugins

Make sure this is all on one line. restart firefox and java should be good to 
go. :-)

Regards,

-- 
David M.




More information about the kubuntu-users mailing list