LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   64-bit Opera, 64-bit Java. Where to get plugin? (http://www.linuxquestions.org/questions/linux-software-2/64-bit-opera-64-bit-java-where-to-get-plugin-614998/)

CJ Chitwood 01-20-2008 01:54 PM

64-bit Opera, 64-bit Java. Where to get plugin?
 
I have a 64-bit version of Opera/Kestrel (confirmed with "file")

Code:

[Dorian][pts/0]
[cj][~]$ which opera
/usr/bin/opera

[Dorian][pts/0]
[cj][~]$ file /usr/bin/opera
/usr/bin/opera: Bourne shell script text executable

*>Digs through the script to find "real" opera<*

[Dorian][pts/0]
[cj][~]$ file /usr/lib/opera/9.50-20071122.2/opera
/usr/lib/opera/9.50-20071122.2/opera: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), dynamically linked (uses shared libs), stripped

[Dorian][pts/0]
[cj][~]$

ELF 64-bit LSB executable.

I have a few varieties of Java installed, to include Sun's 1.6 in both JDK and JRE form, a Blackdown 1.4.2 plugin somewhere, and a few files here and there which I think "apt-get remove" may have failed to remove... Anywhoo, when I use file against any of the following...


/usr/java/1.4.2-blackdown-plugin/amd64/mozilla/libjavaplugin_oji.so
/usr/java/jdk1.6.0_04/jre/lib/amd64/libjava.so
/usr/java/jdk1.6.0_04/jre/lib/amd64/libawt.so
/usr/java/jre1.6.0_04/lib/amd64/libjava.so
/usr/java/jre1.6.0_04/lib/amd64/libawt.so

...they all return the filename plus the string: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), not stripped. So they're all AMD, all 64-bit ELF binaries. This matches my Opera binary.

I've googled and ogled and poked around, and I have read in a few different locations that Opera does not use the plugin but rather the actual JRE environment to render Java. I don't know if this is true, but anytime I have java enabled, regardless of which directory I use for the JVM, as soon as a page with an applet loads, Opera crashes.


I can make do with another browser if I can get Java to work with them, but I'd like to get it working in Opera if I can. It's like the extra credit you do after you've already finished your program for your development class; you've stayed up this late, so you'd might as well go ahead and keep on working it out... Even though the program's done, and you would be satisfied that it's a job well done, that little bit extra just keeps you going... Well, that's me -- I want that little bit extra.



Thanks in advance for any help... LQ has helped me out a lot in the past. I wish I had the time to lurk on the forums here and help out in return, but the best I can offer is to properly tag my posts and post the resolution if/when I find one...

Regards

CJ

Trauma 07-20-2008 10:21 PM

I am in the same boat. I am using Fedroa 9/64. Is there a fix for the java issue?

I am unable to enable / configure Java support for Opera.

A search for libjava.so and libawt.so return:


[root@mouw ~]# locate libjava.so
/opt/jre1.6.0_06/lib/amd64/libjava.so
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libjava.so
[root@mouw ~]# locate libawt.so
/opt/jre1.6.0_06/lib/amd64/libawt.so
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/libawt.so
[root@mouw ~]#


Any help with this would be much appreciated.

CJ Chitwood 07-22-2008 05:32 AM

I gave up. I might go back to trying later when I have time, and I did see an open version of Flash plugin. When I tried it, though, it was like watching what you knew could be DVD quality on what actually was VHS -- it was blotchy at best, in other words. That was using www.homestarrunner.com as a test.

I think we'll be relegated to the back burner until the rest of the world starts 64bit devel.

Trauma 07-28-2008 03:37 PM

bummer. I would think that there must be a way to resolve the 64bit java issue in Opera.

jay73 07-28-2008 04:32 PM

Frankly, I don't know why anyone should insist on using a 64 bit browser. Does your browser use 4GB of RAM?

There are two and a half answers here:
install a 32 bit java and a 32 bit Opera
install a 32 bit java and use nspluginwrapper to use it with a 64 bit browser. This does not - AFAIK- work with Opera, though.
install openJDK/IcedTea 64 bit. Bear in mind that neither has as many features as the SUN package so it may choke on some sites.

Edit: never mind the thumb. Don't know how it ended up here and I can't seem to get rid of it.

CJ Chitwood 08-01-2008 12:09 PM

I only have 2GB in this system to begin with, so I hope not!

I must confess I don't know enough about operating systems and software to understand it. My view has been that a processor that is 64 bits can do twice the computation as a 32 bit... but now that I think about it, I guess that's only in floating point math and the only place that's really a benefit is major serious number crunching, which I suppose a browser running flash doesn't need.


I just wanted to have 64-bit everything-I-could-use so that I knew that none of my processing power was going to waste. I may have been grossly misunderstanding it, and in fact I'm sure some people will laugh at me for it, but oh well.

So now that I have a 64 bit browser installed, and applications compiled specifically for my 64-bit processor, I suppose I could simply uninstall the 64 bit Opera and drop to 32... Of course, I've been using Iceweasel all this time because Opera's getting buggy again. But same thing, I can do that, and have flash work. And it's not like I'm not using all my processor because even if I was running 64 bits everything, all I'm doing right now is browsing the web. It's not like I'll notice a difference in speed LOL

Hoekay, so I think I've got an answer. Not what I was looking for, but in the end it won't matter much...

Thanks!


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