LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox & Java (https://www.linuxquestions.org/questions/linux-software-2/firefox-and-java-146752/)

oneandoneis2 02-16-2004 11:26 AM

Firefox & Java
 
I've got the Java plugin the site says I need (1.4.2). I've created a link to it in the right directory (.phoenix/plugins). I've made sure the file permissions allow me to access it.

It STILL doesn't work. Just tells me I need to download the appropriate plugin.

I'm out of ideas. Can SOMEBODY tell me how to make this damn thing work???

DrOzz 02-16-2004 11:29 AM

where do you have firefox installed ?
did you just untar it in your home folder ?
if so, go to :
cd /home/oneandoneis2/firefox/plugins
and make the symlink in there ...
of course replace the above to the exact location of where you untarred firefox ....

i am just saying all this, cause i can't see your firefox being install in a hidden folder called phoenix ...
state otherwise if this is in fact the case ..

Tsoots 02-16-2004 11:57 AM

Quote:

Originally posted by DrOzz
i am just saying all this, cause i can't see your firefox being install in a hidden folder called phoenix ...
state otherwise if this is in fact the case .. [/B]
This is the dir where firefox (firebird at least) stores it's configurations for user ~/.phoenix and in that dir it should be able to load plugins from dir called plugins. Java plugin needs to be symbolic link to libjavaplugin_oji.so (this with sun's jre).

oneandoneis2 02-16-2004 03:39 PM

.phoenix is where it keeps its files. Unless they changed the directory when they changed the name.

The symbolic link goes to that exact file, from the 1.4.2 package. I'm at a loss

mctavish 02-16-2004 04:17 PM

I put my plugins in the installation directory rather than the profile directory,
so for me,

/usr/local/share/firefox/plugins

Works for me.

The ~/.phoenix directory is for profile data (ie user settings). Maybe you can put plugins there, I don't know.

init 02-16-2004 05:02 PM

No matter where I put the .so I go to a java - enabled page a boom my browser crashes.

I tried the following locals

~/mozilla/plugins
/usr/lib/mozilla-firefox/plugins

In the jre there are three folders ns4/ ns610/ ns610-gcc32/

what .so do I want?

hmmmm lots of firebirdfoxmozilla questions l8ly

mctavish 02-16-2004 08:01 PM

ns610-gcc32/ is the one to go for. I made a symbolic link to /install directory/plugins/

Its covered in the firefox faq BTW - you might want to have look.

king_nothingzzz 02-18-2004 07:22 AM

I have tried all the things that *init* has tried, same things happen here as well.....browser crashes when i visit any java enabled page.
I am guessing that is because i also have Mozilla(Gecko or something like that) installed...
java works fine in Mozilla though....

king_nothingzzz

PS: init do u also have mozilla and firefox installed??

init 02-18-2004 07:35 AM

I have just firefox with NO java support. I have tried every senerio with the .so files only to crash out my browser or not even open my browser. If I do about: plugins it says I have the plugin:confused:

I downloaded the newest "stable java" release from java.sun.com So im going to say it is an issue with firefox.

I will post if I figure it out but do not expect to untill the next firefox release:tisk:

king_nothingzzz 02-18-2004 09:09 AM

Quote:

Originally posted by init
I have just firefox with NO java support. I have tried every senerio with the .so files only to crash out my browser or not even open my browser. If I do about: plugins it says I have the plugin:confused:

I downloaded the newest "stable java" release from java.sun.com So im going to say it is an issue with firefox.

I will post if I figure it out but do not expect to untill the next firefox release:tisk:

I HAVE java support for Mozilla, but not for firefox, infact i have j2re1.5.0(Beta) "Unstable", works well ...*WAS* just trying to get it working for Firefox.

However, NOW, the issue is resolved

I suggest that you give a looksy at the plugins faq available here : http://plugindoc.mozdev.org/faqs/java.html

Have u tried linking to ~/.phoenix/plugins........worked for me......

I dont think waiting for the next firefox relase is necessary :)

Cheers

king_nothingzzz

GregLee 02-18-2004 10:42 AM

I've used several binaries of Phoenix/Firebird/Firefox over the last few weeks and two binaries of Java. The Java plugin has always worked just fine. Maybe you're doing something wrong, though I don't know what. Is it clear that the compiler versions match? If your Firefox was compiled with gcc 3.2.x (as mine was), Java also has to be compiled with gcc 3.2.x.

My current Firefox is from:
http://ftp.mozilla.org/pub/mozilla.o...tk2+xft.tar.gz

and the file date is Feb. 16. My current Java is from:

ftp://metalab.unc.edu/pub/linux/deve...586-gcc3.2.bin

(Earlier I had a j2re-1.4.2 brom Blackdown, which also worked.)

I untarred Java in my /b directory, and an "ls -l" in my firefox plugins directory, I see:

libjavaplugin_oji.so -> /b/j2sdk1.4.2/jre/plugin/i386/mozilla/libjavaplugin_oji.so

and in the browser window, "about:plugins" shows a bunch of entries for java which are all enabled.

Maybe you can recognize some relevant difference between this and your installation.

init 02-18-2004 10:52 AM

I am running the .tgz firefox from linux packages.net I will try a newer binary when I get home from work.

JordanH 02-19-2004 12:05 PM

I have just begun to look at this issue as well.

Chronological order.
1. I had a similar problem with FireBird, so I copied the proper .so into the plugins directory and backed up the one for FireBird.
2. I installed firefox and flash worked without any additional changes. Java did not.
3. Copied the plugins directory directly from firebird to firefox - hey, it was worth a try! Unfortunately, this crashed firefox whenever I loaded a page with java.
4. Copied the fireBIRD OEM .so to the fireFOX plugins directory. Firefox no longer crashes but still wants me to install the java plugin.
5. D'uh. Forgot that copying the directory would lose the symlinks and just copy the files. I recreated the symlinks properly. whoo hoo.

So what is the proper symlink?
I installed firefox into /opt/firefox/
That means, my symlink went from /opt/firefox/libjavaplugin_oji.so --> /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so


All times are GMT -5. The time now is 05:59 AM.