LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 02-17-2008, 12:45 AM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Swiftfox and Java on 64-bit install


Hi.

If firefox is already working wrt java and flash, should it be a simple matter of loading up swiftfox and away I go?

I ask because I seem to be having problems with java related sites.

When using http://www.java.com/en/download/help/testvm.xml in FF, I can see the little fella dancing. However in Swiftfox nothing.

Below is my ~/.mozilla/plugins directory

Code:
[jongi:~#] ls -la ~/.mozilla/
total 2
drwx------  4 jongi jongi  128 2008-02-17 08:33 .
drwx------ 48 jongi jongi 2128 2008-02-17 08:25 ..
drwx------  3 jongi jongi  104 2008-02-16 08:02 extensions
drwx------  2 jongi jongi  112 2008-02-14 23:02 firefox
lrwxrwxrwx  1 jongi jongi   35 2008-02-17 08:33 plugins -> /usr/lib64/mozilla/plugins-wrapped/
[jongi:~#] ls -la ~/.mozilla/plugins/
total 1177
drwxr-xr-x 2 root root    864 2008-02-16 16:09 .
drwxr-xr-x 5 root root    136 2008-01-28 15:12 ..
lrwxrwxrwx 1 root root     43 2008-02-14 23:39 libjavaplugin.so -> /usr/lib64/mozilla/plugins/libjavaplugin.so
lrwxrwxrwx 1 root root     39 2008-02-14 23:39 npwrapper.so -> /usr/lib64/nspluginwrapper/npwrapper.so
-rwxr-xr-x 1 root root  83200 2008-02-16 09:20 nswrapper_32_64.libflashplayer.so
-rwxr-xr-x 1 root jongi 83200 2008-02-16 09:20 nswrapper_32_64.mozplugger.so
-rwxr-xr-x 1 root jongi 83200 2008-02-16 09:20 nswrapper_32_64.mplayerplug-in-dvx.so
-rwxr-xr-x 1 root jongi 83200 2008-02-16 09:20 nswrapper_32_64.mplayerplug-in-qt.so
-rwxr-xr-x 1 root jongi 83200 2008-02-16 09:20 nswrapper_32_64.mplayerplug-in-rm.so
-rwxr-xr-x 1 root jongi 83200 2008-02-16 09:20 nswrapper_32_64.mplayerplug-in.so
-rwxr-xr-x 1 root jongi 83200 2008-02-16 09:20 nswrapper_32_64.mplayerplug-in-wmp.so
-rwxr-xr-x 1 root jongi 83200 2008-02-16 16:09 nswrapper_32_64.nppdf.so
-rwxr-xr-x 1 root root  83200 2008-02-16 09:20 nswrapper_64_64.mozplugger.so
-rwxr-xr-x 1 root root  83200 2008-02-16 09:20 nswrapper_64_64.mplayerplug-in-dvx.so
-rwxr-xr-x 1 root root  83200 2008-02-16 09:20 nswrapper_64_64.mplayerplug-in-qt.so
-rwxr-xr-x 1 root root  83200 2008-02-16 09:20 nswrapper_64_64.mplayerplug-in-rm.so
-rwxr-xr-x 1 root root  83200 2008-02-16 09:20 nswrapper_64_64.mplayerplug-in.so
-rwxr-xr-x 1 root root  83200 2008-02-16 09:20 nswrapper_64_64.mplayerplug-in-wmp.so
This is all on Fedora 8 x86_64 using swiftfox v2.0.0.13pre. I'm using icedtea Java btw.

Last edited by Jongi; 02-17-2008 at 12:47 AM.
 
Old 02-19-2008, 01:37 PM   #2
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
So after some time, it struck me. Why not load it up from the console and see if any error messages appear. Sure as Bob there we have them:

Code:
LoadPlugin: failed to initialize shared library /usr/lib64/nspluginwrapper/npwrapper.so [/usr/lib64/nspluginwrapper/npwrapper.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so [/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so [/usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib64/nspluginwrapper/npwrapper.so [/usr/lib64/nspluginwrapper/npwrapper.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so [/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so [/usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so [/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so [/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib64/nspluginwrapper/npwrapper.so [/usr/lib64/nspluginwrapper/npwrapper.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so [/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so: wrong ELF class: ELFCLASS64]
LoadPlugin: failed to initialize shared library /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so [/usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so: wrong ELF class: ELFCLASS64]
 
Old 02-20-2008, 04:10 PM   #3
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Ha. Figured this mother out.

Went to this site

Downloaded the Linux self-extracting file under Linux Platform - Java(TM) SE Runtime Environment 6 to my home directory

As root I then did,

Code:
# cd /opt
# cp /home/<user>/jre-6-linux-i586.bin .
# chmod +x jre-6-linux-i586.bin
# ./jre-6-linux-i586.bin
# cd /home/<user>/.mozilla/plugins (you might not have this folder so you you might need to create it
# ln -s /opt/jre1.6.0/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so
And that is how I got Java to work in Swiftfox under x86_64.
 
Old 03-09-2009, 11:44 PM   #4
javaunixsolaris
Member
 
Registered: Jan 2007
Location: Colorado
Distribution: Kubuntu
Posts: 53

Rep: Reputation: 15
Thanks Jongi for taking the time to post your solution. I just did this today, it's great to have Java working(:
 
  


Reply

Tags
java



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
64-bit Opera, 64-bit Java. Where to get plugin? CJ Chitwood Linux - Software 5 08-01-2008 12:09 PM
IcedTea Java on 64-bit (Sidux 64-bit) Jongi Debian 0 01-21-2008 04:21 PM
LXer: Howto install Flash, Java, Real Player 32 bit plugins under 64 bit Firefox LXer Syndicated Linux News 0 03-16-2007 11:31 PM
Java plugin and swiftfox B407 Linux - Software 4 12-14-2006 04:29 AM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:14 PM.

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
Open Source Consulting | Domain Registration