LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 10-11-2008, 03:17 AM   #1
xdunlapx
Member
 
Registered: Oct 2008
Location: Nevada
Distribution: Slackware 14.1
Posts: 69

Rep: Reputation: 0
Question 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
 
Old 10-12-2008, 11:58 AM   #2
AuroraCA
Member
 
Registered: Jul 2008
Location: Northern CA USA
Distribution: Ubuntu, Slackware, Gentoo, Fedora, Red Hat, Puppy Linux
Posts: 370

Rep: Reputation: 35
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.
 
Old 10-12-2008, 06:12 PM   #3
xdunlapx
Member
 
Registered: Oct 2008
Location: Nevada
Distribution: Slackware 14.1
Posts: 69

Original Poster
Rep: Reputation: 0
I'm using 32-bit fluxbuntu.
 
Old 10-12-2008, 06:33 PM   #4
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Can you post the output of java -version?
 
Old 10-12-2008, 11:35 PM   #5
xdunlapx
Member
 
Registered: Oct 2008
Location: Nevada
Distribution: Slackware 14.1
Posts: 69

Original Poster
Rep: Reputation: 0
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)
 
Old 10-12-2008, 11:46 PM   #6
John VV
Guru
 
Registered: Aug 2005
Posts: 13,452

Rep: Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799Reputation: 1799
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
Code:
about:plugins
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 11:50 PM. Reason: add
 
Old 10-13-2008, 02:00 AM   #7
xdunlapx
Member
 
Registered: Oct 2008
Location: Nevada
Distribution: Slackware 14.1
Posts: 69

Original Poster
Rep: Reputation: 0
Question 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 02:03 AM.
 
Old 10-13-2008, 01:04 PM   #8
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
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.
 
Old 10-13-2008, 01:32 PM   #9
xdunlapx
Member
 
Registered: Oct 2008
Location: Nevada
Distribution: Slackware 14.1
Posts: 69

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73 View Post
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.
 
Old 10-13-2008, 01:42 PM   #10
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
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.
 
Old 10-13-2008, 09:40 PM   #11
xdunlapx
Member
 
Registered: Oct 2008
Location: Nevada
Distribution: Slackware 14.1
Posts: 69

Original Poster
Rep: Reputation: 0
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:
 
Old 10-13-2008, 09:51 PM   #12
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
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.
 
Old 10-13-2008, 10:00 PM   #13
xdunlapx
Member
 
Registered: Oct 2008
Location: Nevada
Distribution: Slackware 14.1
Posts: 69

Original Poster
Rep: Reputation: 0
Talking 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 10:01 PM. Reason: added tags
 
  


Reply

Tags
firefox, firefox3, fixed, java


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
firefox3--flash and java pixellany Linux - Software 2 09-12-2008 02:02 AM
Firefox3 craches kalleanka Linux - General 1 08-10-2008 07:26 AM
Firefox3.0 Installation zreecu Linux - Software 2 06-19-2008 06:39 AM
OMFG - Firefox3 homepage crashmeister General 3 12-19-2007 04:02 PM
Unable to get Sun's Java to work in a chroot at all: no output from javac, etc. HowDoIProgramIt Linux - Software 6 11-17-2007 10:00 AM


All times are GMT -5. The time now is 09:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration