Ubuntu hardy java problem


Recommended Posts

Hey people, been having trouble getting java to work in Ubuntu Hardy with Firefox 2 (which I need for my plugins). I've seen a few pages on Google about this and most of them suggest removing and reconfiguring (as well as selecting the right one with the alternatives selection tool) and I've tried this to no avail. I have sun-java5-bin, sun-java5-jre, sun-java5-plugin installed. I had sun-java6 for each of them installed and they didnt work. I had the OpenJDK installed and that didnt work. I had Iced Tea installed and that didnt work. I'm really at a loss here. I've got the java file linked into my Firefox plugins directory but it doesn't show up when I use "about:plugins". I grabbed the installer off their site and installed 1.6.0_05 into /usr/java and that also did nothing. I can use Frostwire just fine though so I don't get it.

  Quote
kreuger@kreuger-desktop:~$ whereis java

java: /usr/bin/java /etc/java /usr/lib/java /usr/share/java

Link to comment
https://www.neowin.net/forum/topic/636507-ubuntu-hardy-java-problem/
Share on other sites

Here is how I got it to work.

  1. Open Firefox
  2. Browse to site that uses a java plugin
  3. Click the firefox plugin prompt to install Java
  4. Select Sun Java from the list of available plugins

That's it.

As ugly as this is, I might recommend re-installing Ubuntu and browsing to a page that uses a Java plugin (like this one) and let Firefox prompt you for plugin install and select the Sun Java plugin.

That's really all I did to get Java working for me, so I have no idea why it is not installing for you. :unsure:

I'm not sure how it is registered, but I would think that you could make sure no java was installed, then manually purge everything out of the .mozilla 'plugins' directory. It should see it has no java plugin, no java is installed, and prompt for the plugin.

I would think... :ermm:

I guess I can give that a try as I'm not getting anything over on the Ubuntu forums or maybe remove firefox too.

Edit: After removing both Firefox and Java, it still brings me to the manual dialog. Seems it's stuck.

Edited by Kreuger
  • 4 weeks later...
  Kreuger said:
I guess I can give that a try as I'm not getting anything over on the Ubuntu forums or maybe remove firefox too.

Edit: After removing both Firefox and Java, it still brings me to the manual dialog. Seems it's stuck.

I just installed Hardy tonight and ran into the same problem. After fiddling randomly, I removed openjdk and manually installed jre-6u6-linux-i586-rpm.bin.

Java didn't work in firefox or firefox-2, but it did work in firefox-3.0!

Not sure why, but there you have it. Good luck!!!

Yeah supposedly it works fine in FF3 but I'm still waiting on a few people to get their damn addons updated. The official release is in 4 days, every addon should be compatible to work by then but I don't see it happening. Apparently it's not important.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.