Firefox + Java + GNU/Linux

User Help for Mozilla Firefox
Post Reply
nasht
Posts: 123
Joined: March 24th, 2004, 12:27 am
Location: Los Angeles, CA / Paris, France
Contact:

Firefox + Java + GNU/Linux

Post by nasht »

Hi,

I run Fedora Core 4.
Installed Java (through JDK).
I linked java to firefox doing:
ln -s /opt/jdk1.5.0_04/jre/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-1.0.6/plugins/libjavaplugin_oji.so

Now when I test Java online, firefox does not ask me for plugin anymore, but it still doesn't work.

I tried to run firefox from the console, here is what I got:

[nute@localhost ~]$ firefox http://www.java.com/en/download/help/testvm.xml UA: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6:, extra: Firefox/1.0.6
java.lang.UnsatisfiedLinkError: /opt/jdk1.5.0_04/jre/lib/i386/libdeploy.so: /opt/jdk1.5.0_04/jre/lib/i386/libdeploy.so: cannot restore segment prot after reloc: Permission denied
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
[... I skip a few lines here ...]
at sun.plugin.util.PluginSysUtil$SysExecutionThread.run(PluginSysUtil.java:266)
Could not read ack from child process
Plugin: Java VM process has died.
plugin: java process exited with status 6
Could not start JavaVM!
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.30 Safari/532.5
Post Reply