[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Java and Mozilla Firebird Help



Hello group,

This question will probably seem ridiculous to some of you, but I am just 
having a lot of trouble with it.  I am trying to install the Java plugin with 
Mozilla Firebird 0.7.  BTW, I am running a combination of Woody and Sarge.  

Here is what I have done so far:
1) I downloaded the file "j2re-1_4_2_04-linux-i586-RPM.bin" from the Sun
Microsystems site.  

2) Then I executed the file.  This gave me an RPM file.

3) I then used alien to get a deb file.  I then installed the deb file.  

4) After that,  I created a symbolic link in my ~/.mozilla-firebird/plugins
directory using the command:
ln -s /usr/java/j2re1.4.2_04/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

Any time I try to open a page that uses Java, firebird crashes.  I looked
through the help files and firebird faq and didn't really find anything 
useful. 

So far, to troubleshoot, I did this:
1) in firebird I went to about:buildconfig.  This gave me the following 
output:

*********************************
about:buildconfig

Build platform
target
i686-pc-linux-gnu

Build tools
Compiler 	Version 	Compiler flags
gcc 	gcc version 3.3.3 20040125 (prerelease) (Debian) 	-Wall -W -Wno-unused 
-Wpointer-arith -Wcast-align -Wno-long-long -pthread -pipe
c++ 	gcc version 3.3.3 20040125 (prerelease) (Debian) 	-fno-rtti 
-fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align 
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-long-long 
-fshort-wchar -pthread -pipe

Configure arguments
--prefix=/usr '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' 
--enable-default-toolkit=gtk2 
--with-default-mozilla-five-home=/usr/lib/mozilla-firebird 
--with-user-appdir=.mozilla-firebird --with-system-mng=/usr 
--with-system-png=/usr --with-system-jpeg=/usr --disable-mailnews 
--disable-composer --disable-plaintext-editor-only --enable-xprint 
--enable-crypto --enable-strip-libs --enable-mathml --disable-tests 
--disable-debug --enable-xft '--enable-optimize=-pipe\ -w\ -O2\ -DDEBIAN' 
--with-system-zlib=/usr --without-system-nspr --enable-xinerama 
--enable-extensions=default,-irc,-venkman --disable-pedantic 
--disable-long-long-warning 

*****************************************
From this I gather that since firebird was compiled using gcc 3.3.3 I am 
correct in using the plugin from ns610-gcc32 directory.

2) Next, I went to about:plugins in firebird.  This gave me the following 
output:

********************************************************
Java(TM) Plug-in 1.4.2_04-b05

    File name: libjavaplugin_oji.so
    Java(TM) Plug-in 1.4.2_04

MIME Type 	Description 	Suffixes 	Enabled
application/x-java-vm 	Java 		Yes
application/x-java-applet 	Java 		Yes
application/x-java-applet;version=1.1 	Java 		Yes
application/x-java-applet;version=1.1.1 	Java 		Yes
application/x-java-applet;version=1.1.2 	Java 		Yes
application/x-java-applet;version=1.1.3 	Java 		Yes
application/x-java-applet;version=1.2 	Java 		Yes
application/x-java-applet;version=1.2.1 	Java 		Yes
application/x-java-applet;version=1.2.2 	Java 		Yes
application/x-java-applet;version=1.3 	Java 		Yes
application/x-java-applet;version=1.3.1 	Java 		Yes
application/x-java-applet;version=1.4 	Java 		Yes
application/x-java-applet;version=1.4.1 	Java 		Yes
application/x-java-applet;version=1.4.2 	Java 		Yes
application/x-java-applet;jpi-version=1.4.2_04 	Java 		Yes
application/x-java-bean 	Java 		Yes
application/x-java-bean;version=1.1 	Java 		Yes
application/x-java-bean;version=1.1.1 	Java 		Yes
application/x-java-bean;version=1.1.2 	Java 		Yes
application/x-java-bean;version=1.1.3 	Java 		Yes
application/x-java-bean;version=1.2 	Java 		Yes
application/x-java-bean;version=1.2.1 	Java 		Yes
application/x-java-bean;version=1.2.2 	Java 		Yes
application/x-java-bean;version=1.3 	Java 		Yes
application/x-java-bean;version=1.3.1 	Java 		Yes
application/x-java-bean;version=1.4 	Java 		Yes
application/x-java-bean;version=1.4.1 	Java 		Yes
application/x-java-bean;version=1.4.2 	Java 		Yes
application/x-java-bean;jpi-version=1.4.2_04 	Java 		Yes
*************************************************
Well, it seems to me that firebird thinks that the plugin is correctly 
installed.  So this doesn't point anything out of the ordinary to me.

3) Finally, I used ldd on the plugin to check for dependencies.  I used the 
command:
ldd libjavaplugin_oji.so

It gave me the following output:
***************************************
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40054000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400a5000)
        libdl.so.2 => /lib/libdl.so.2 (0x4016d000)
        libc.so.6 => /lib/libc.so.6 (0x40170000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x402a3000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x402ab000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x402b4000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
********************************************
I don't see anything out of the ordinary here either.  It seems to me that all 
of the libraries I need are on my system.

I pretty much all out of ideas now.  I'm sure that its probably something 
simple that I overlooked, but I'm not sure what.  Any help you give would be 
greatly appreciated.

MA



Reply to: