Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
10-11-2008, 02:17 AM
#1
Member
Registered: Oct 2008
Location: Ohio
Distribution: Xubuntu 11.10
Posts: 67
Rep:
Unable to get Java to work in Firefox3
I cannot get java to be recognised in FF3. I've installed it several different ways, apt-get, website, several versions, etc. No-go.
There were no errors shown when installing java.
Can someone please help me figure out why it's not working?
I'm using Fluxbuntu 7.10.
xdunlapx
10-12-2008, 10:58 AM
#2
Member
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370
Rep:
Are you running 32 bit (i386) or 64 bit (AMD64) Fluxbuntu?
It does appear that the only version of Fluxbuntu is a release candidate and not a stable release.
10-12-2008, 05:12 PM
#3
Member
Registered: Oct 2008
Location: Ohio
Distribution: Xubuntu 11.10
Posts: 67
Original Poster
Rep:
I'm using 32-bit fluxbuntu.
10-12-2008, 05:33 PM
#4
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep:
Can you post the output of java -version?
10-12-2008, 10:35 PM
#5
Member
Registered: Oct 2008
Location: Ohio
Distribution: Xubuntu 11.10
Posts: 67
Original Poster
Rep:
java -version
java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea Server VM (build 1.7.0-b21, mixed mode)
10-12-2008, 10:46 PM
#6
Guru
Registered: Aug 2005
Location: Ann Arbor Mi.
Distribution: OpenSUSE 11.4 & Scientfic Linux 6.1
Posts: 7,281
you may need to link the java plugin to your firefox3 plugin folder
i am not sure where it is on " Fluxbuntu " but for fedora8 it is
/usr/lib/jvm/jre-1.7.0-icedtea/lib/i386/gcjwebplugin.so
then start FF and type into the address bar
and you will get a list of installed plugins
-- excerpt --
Quote:
...
GCJ Web Browser Plugin 1.4
File name: /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0/jre/lib/i386/gcjwebplugin.so
The GCJ Web Browser Plugin executes Java applets.
...
Last edited by John VV; 10-12-2008 at 10:50 PM .
Reason: add
10-13-2008, 01:00 AM
#7
Member
Registered: Oct 2008
Location: Ohio
Distribution: Xubuntu 11.10
Posts: 67
Original Poster
Rep:
Tried
I tried that, but whenever I went to
http://www.java.com/en/download/installed.jsp and clicked 'verify java version' button, FF immediately crashed.
I have FF 2.0.0.17 and 3.0a8 (Gran Paridiso beta). Both browsers immediately crash-killed at that verify site.
I them removed the java.so from the plugins folder and retried, no crash, but it doesn't detect I have java installed.
Contents of ~/.mozilla/plugins:
flashplayer.xpt libflashplayer.so
It seems I have two versions of java installed...?
Code:
j2se 1.4
/usr/lib/j2se/1.4/jre/plugin/i386/mozilla
libjavaplugin_oji.so
java-7-icedtea
/usr/lib/jvm/java-7-icedtea/jre/lib/i386
client libj2pkcs11.so libnet.so
headless libjaas_unix.so libnio.so
jli libjava.so libnpt.so
jvm.cfg libjava_crw_demo.so librmi.so
libattach.so libjawt.so libsaproc.so
libawt.so libjdwp.so libsplashscreen.so
libdcpr.so libjpeg.so libunpack.so
libdt_socket.so libjsig.so libverify.so
libfontmanager.so libjsound.so libzip.so
libhprof.so libjsoundalsa.so native_threads
libinstrument.so libjsoundhs.so server
libioser12.so liblcms.so xawt
libj2gss.so libmanagement.so
libj2pcsc.so libmlib_image.so
Any ideas how to get FF2 and FF3beta to understand and use java?
Thanks in advance!
Last edited by xdunlapx; 10-13-2008 at 01:03 AM .
10-13-2008, 12:04 PM
#8
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep:
Install sun-java6-jre and galternatives. Use the latter to switch java and the firefox and xulrunner java plugins to the sun java plug-in.
10-13-2008, 12:32 PM
#9
Member
Registered: Oct 2008
Location: Ohio
Distribution: Xubuntu 11.10
Posts: 67
Original Poster
Rep:
Quote:
Originally Posted by
jay73
Install sun-java6-jre and galternatives. Use the latter to switch java and the firefox and xulrunner java plugins to the sun java plug-in.
That did not work for either browser (FF2 or 3beta).
Ugh. This is so frustrating.
10-13-2008, 12:42 PM
#10
Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019
Rep:
Try sudo update-alternatives --config java
Quote:
jurgen@Selena:~$ sudo update-alternatives --config java
[sudo] password for jurgen:
There are 2 alternatives which provide `java'.
Selection Alternative
-----------------------------------------------
+ 1 /usr/lib/jvm/java-6-sun/jre/bin/java
* 2 /opt/jdk1.6.0_10rc/bin/java
Press enter to keep the default[*], or type selection number:
You may also want to remove any java providers other than the one from sun.
10-13-2008, 08:40 PM
#11
Member
Registered: Oct 2008
Location: Ohio
Distribution: Xubuntu 11.10
Posts: 67
Original Poster
Rep:
I tried all of that. No luck.
I wonder what is wrong??
I removed all other instances of java, reinstalled it, did the config stuff, rebooted, and it still doesn't work.
:sigh:
10-13-2008, 08:51 PM
#12
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,455
apt-get install sun-java6-plugin sun-java6-jre sun-java6-bin
then run update-alternatives --config java and choose sun-java
If none of that works, how did you install firefox? Using apt-/synaptic or are you using the Mozilla firefox? If your using the Mozilla Firefox and not the version available in your repos you need to link or copy the plugins to the appropriate dir.
10-13-2008, 09:00 PM
#13
Member
Registered: Oct 2008
Location: Ohio
Distribution: Xubuntu 11.10
Posts: 67
Original Poster
Rep:
Problem Solved!
***Installing sun-java6-plugin worked!! Thank you for your help, all of you!!***
I installed firefox via apt-get as fluxbuntu comes with a japanese browser (kazehakase) that is quite stripped down and I did not like it.
I'm using both Mozilla Firefox 2.0.0.17 and Firefox Gran Paradiso 3.0a8.
Last edited by xdunlapx; 10-13-2008 at 09:01 PM .
Reason: added tags
Thread Tools
Search this Thread
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
All times are GMT -5. The time now is 01:36 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News