LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Ubuntu 64-bit, Opera 64-bit, Java not working (http://www.linuxquestions.org/questions/linux-desktop-74/ubuntu-64-bit-opera-64-bit-java-not-working-661804/)

Debian_Poland 08-10-2008 11:28 AM

Ubuntu 64-bit, Opera 64-bit, Java not working
 
Hi,

I have just upgraded to Kubuntu:

Linux 2.6.24-19-generic #1 SMP Fri Jul 11 21:01:46 UTC 2008 x86_64 GNU/Linux

Installed Java version:
java version "1.6.0"
OpenJDK Runtime Environment (build 1.6.0-b09)
OpenJDK 64-Bit Server VM (build 1.6.0-b09, mixed mode)

Installed Firefox version:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.1) Gecko/2008072820 Firefox/3.0.1

Installed Opera version:
Version information Version 9.51
Build 2061
Platform Linux
System x86_64, 2.6.24-19-generic
Qt library 3.3.8b
Java Java Runtime Environment installed
Browser identification Opera/9.51 (X11; Linux x86_64; U; en)

When I get to java.com site for verification of java installation - it works for Firefox but it is not working for Opera. Unfortunately I have to use Opera with java for certain page and this is only supported combination.
I used to work for debian before upgrade.

What do you recommend?

Thanks and regards;

tredegar 08-10-2008 11:50 AM

See this thread: http://help.lockergnome.com/linux/Ja...ict469301.html

Debian_Poland 08-11-2008 12:18 PM

Unfortunately topic you have pointed does not cover my problem:

On my system both Java and Opera seems to be 64-bit.

$ locate libjava.so
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libjava.so
$ file -L /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libjava.so
/usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libjava.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), stripped

$ file -L /usr/lib/opera/9.51/opera
/usr/lib/opera/9.51/opera: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), stripped

Any other ideas?

Thanks!

tredegar 08-11-2008 03:26 PM

Quote:

Any other ideas?
Not really.... but ...
Opera has had problems with java for some time [Check the various search engines]

Some thoughts:

1] Exactly why do you "have to use Opera with java for certain page and this is only supported combination."? If this is the case, the website is very badly written. Tell them to rewrite it, or do not use it.

2] You are running a 64-bit everything. Whilst this should (in theory) work, development and bug-fixing of 64-bit applications appears to be slower than 32-bit. I am still on 32-bit, and all is functioning: I have no need for a 64-bit kernel or applications. What, exactly is your need for this?

It's a bit like IPV6: We can all see that the need is there, but we, as individuals don't care at the moment - most ISPs are not offering IPV6, and when they do, it may be broken. So I am staying with IPV4, which works.

3] If you really want opera with java, I suggest you "downgrade" to a 32-bit system. I doubt you will notice any difference in speed, but you'll probably find an increase in functionality.

HTH

H_TeXMeX_H 08-12-2008 05:24 AM

Are you quite sure the Firefox one truly works, try a few more sites and you may realize that it doesn't really work. With a 64-bit system, currently if you want java support you may just want to use a 32-bit browser. Or your best bet is konqueror, which doesn't really need the java plugin to support some java.

Debian_Poland 08-12-2008 01:01 PM

Hi,

Unfortunately this is my bank web system which supports almost all browsers under M$ Win but only Opera under Linux. Bank change is not really something I would like to do now :) It hangs Firefox... I am writing to webmasters and my bank consultant every day regarding this case :) (soon they will buy me free M$ win license to stop it ;-)

There is no real need to go to 64-bits in my case. I just installed whole system and everything (amarok, thunderbird, firefox, OpenOffice.org, mPlayer, Kaffeine, K3b, KDE4, TvTime, Gimp, md, dm-crypt, I mean like EVERYTHING) except Java in Opera works fine...
Again, downgrading to 32-bits just because of that one problem is possible but not really wanted :(

I believe the most probable solution will be installation of 32-bit environment on my laptop and I will use it to bank operations while my desktop stays 64-bit and wait for java or Opera fix.

Thanks for all ideas and if more comes to you let me know!

All the best;

tredegar 08-12-2008 01:15 PM

If it's just your bank, then there may be an easier solution.
konqueror (as a web browser) has a Settings - Configure Konqueror - Browser Identification setting where you can make it announce itself as IE-whatever for named websites. So set it up for your bank's address and see what happens. It is easy to do (I do not think you'll need a tutorial!)

In my experience, this always sorts out the "problem". But there is no harm in writing to your bank as well. I did, and they eventually changed it so linux browsers (konqueror & firefox, anyway) are happily accepted.

There's also a "Browser Switch Agent" or somesuch plugin for firefox, but I never used it as konqueror worked fine with the Browser ID set to IE for my bank, and now both work without any messing about (because the bank eventually rewrote their stupid "Must use IE" script, and implemented a load of other improvements that I suggested to their website.

No they didn't send me any thanks. I'd happily denounce them publicly here, but bank-stuff, well, that's personal isn't it? [Unless you have friends in Nigeria who want to send you money, of course ;)]).

Hope this helps.


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