Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Java(-applets) for Opera 10-beta on AMD64 - howto

 
   Soft32 Home -> Linux -> Opera RSS
Next:  initramfs unpacking failed: junk in compressed ar..  
Author Message
Helmut Jarausch

External


Since: Mar 08, 2005
Posts: 8



(Msg. 1) Posted: Mon Jun 08, 2009 9:20 am
Post subject: Java(-applets) for Opera 10-beta on AMD64 - howto
Archived from groups: opera>linux (more info?)

Sorry, if this is a FAQ, but googling around didn't help me.
The SUN Java website says, one should use the 32bit Java for running java applets.

I've configured Opera for enabling Java and it says the given path is OK.
But when I goto
http://www.opera.com/media/applets/clock/
it doesn't work.

Any help is appreciated,
Helmut.


opera:about
Version 10.00 Beta
Build 4402
Platform Linux
System x86_64, 2.6.29-gentoo-r3
Qt library 3.3.8b
Java No Java Runtime Environment installed <==== WHY and howto

I've set the Java path to
/opt/java/lib/amd64

where /opt/java is a symlink to
/opt/sun-jre-bin-1.6.0.14


--
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
Back to top
Login to vote
Eirik Byrkjeflot Anonsen

External


Since: Jun 04, 2007
Posts: 137



(Msg. 2) Posted: Mon Jun 08, 2009 11:20 am
Post subject: Re: Java(-applets) for Opera 10-beta on AMD64 - howto [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Helmut Jarausch <jarausch.TakeThisOut@skynet.be> writes:

> Sorry, if this is a FAQ, but googling around didn't help me.
> The SUN Java website says, one should use the 32bit Java for running
> java applets.

I suspect that only applies to mozilla, which I believe is the only
browser that uses the sun "oji" plug-in to support java applets. I
would be very much surprised if using 32 bit java with 64 bit opera
would work.

> I've configured Opera for enabling Java and it says the given path is OK.
> But when I goto
> http://www.opera.com/media/applets/clock/
> it doesn't work.
>
> Any help is appreciated,
> Helmut.
>
>
> opera:about
> Version 10.00 Beta
> Build 4402
> Platform Linux
> System x86_64, 2.6.29-gentoo-r3
> Qt library 3.3.8b
> Java No Java Runtime Environment installed <==== WHY and howto

I think it says this after opera has failed to load java once, for any
reason. Unfortunately, the amount of available debugging information in
our java support has always been somewhat lacking.

> I've set the Java path to
> /opt/java/lib/amd64
>
> where /opt/java is a symlink to
> /opt/sun-jre-bin-1.6.0.14

That sounds like the right thing to do. It is how I would guess it
should work. However, I don't work on this part anymore, so I don't
know what the current status is. (And I have to apologize for the
stupid path. It was part of the implementation that leaked into the UI,
and we've just never gotten around to fix it...)

eirik
Back to top
Login to vote
jpkotta

External


Since: Jun 09, 2009
Posts: 1



(Msg. 3) Posted: Tue Jun 09, 2009 8:42 am
Post subject: Re: Java(-applets) for Opera 10-beta on AMD64 - howto [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jun 8, 8:48 am, Helmut Jarausch <jarau....TakeThisOut@skynet.be> wrote:
> Sorry, if this is a FAQ, but googling around didn't help me.
> The SUN Java website says, one should use the 32bit Java for running java applets.
>
> I've configured Opera for enabling Java and it says the given path is OK.
> But when I gotohttp://www.opera.com/media/applets/clock/
> it doesn't work.

I'm running Opera 10 (64 bit) on Ubuntu 9.10 (64 bit). I installed
the sun-java6-plugin package, with Sun Java 1.6.0.13 (also 64 bit).
My Java path is /usr/lib64/jvm/java-6-sun/jre/lib/amd64. That applet
works for me. Obviously this stuff is distro-specific, but it's
possible to get a 64 bit java plugin working with a 64 bit Opera.
Back to top
Login to vote
Eirik Byrkjeflot Anonsen

External


Since: Jun 04, 2007
Posts: 137



(Msg. 4) Posted: Wed Jun 10, 2009 3:20 am
Post subject: Re: Java(-applets) for Opera 10-beta on AMD64 - howto [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

jpkotta <jpkotta.RemoveThis@gmail.com> writes:

> On Jun 8, 8:48 am, Helmut Jarausch <jarau....RemoveThis@skynet.be> wrote:
>> Sorry, if this is a FAQ, but googling around didn't help me.
>> The SUN Java website says, one should use the 32bit Java for running java applets.
>>
>> I've configured Opera for enabling Java and it says the given path is OK.
>> But when I gotohttp://www.opera.com/media/applets/clock/
>> it doesn't work.
>
> I'm running Opera 10 (64 bit) on Ubuntu 9.10 (64 bit). I installed
> the sun-java6-plugin package, with Sun Java 1.6.0.13 (also 64 bit).
> My Java path is /usr/lib64/jvm/java-6-sun/jre/lib/amd64. That applet
> works for me. Obviously this stuff is distro-specific, but it's
> possible to get a 64 bit java plugin working with a 64 bit Opera.

I doubt you need the sun-java6-plugin package with opera. Opera
interfaces directly with java (unless something has changed dramatically
over the last few years).

Unless... Does that package include a "plugin.jar" file or similar? If
I remember correctly, the old java compilers (java 1.1-ish) generates
code that newer java will refuse to run (at least as security-restricted
applets). And the "plugin.jar" file contains code that fixes such old
code on the fly.

Nice to hear that it works, though Smile

eirik
Back to top
Login to vote
richard lucassen

External


Since: Nov 30, 2008
Posts: 11



(Msg. 5) Posted: Wed Jun 10, 2009 5:20 am
Post subject: Re: Java(-applets) for Opera 10-beta on AMD64 - howto [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 10 Jun 2009 09:22:06 +0200
Eirik Byrkjeflot Anonsen <eirik.DeleteThis@opera.com> wrote:

> > I'm running Opera 10 (64 bit) on Ubuntu 9.10 (64 bit). I installed
> > the sun-java6-plugin package, with Sun Java 1.6.0.13 (also 64 bit).
> > My Java path is /usr/lib64/jvm/java-6-sun/jre/lib/amd64. That
> > applet works for me. Obviously this stuff is distro-specific, but
> > it's possible to get a 64 bit java plugin working with a 64 bit
> > Opera.
>
> I doubt you need the sun-java6-plugin package with opera. Opera
> interfaces directly with java (unless something has changed
> dramatically over the last few years).
>
> Unless... Does that package include a "plugin.jar" file or similar?
> If I remember correctly, the old java compilers (java 1.1-ish)
> generates code that newer java will refuse to run (at least as
> security-restricted applets). And the "plugin.jar" file contains code
> that fixes such old code on the fly.
>
> Nice to hear that it works, though Smile

It works, but not always and this is very annoying somtimes. In Opera I
get all sorts of errors, while FF just works without a problem.
Apparently there is a difference between the two ways of implementing
Java. I like Opera, it works fine, but it is impossible to work
Opera-only. E.g., go to:

http://www.concertgebouw.nl/

Click on a concert and click "bestel" (order). In FF you'll see a map of
the concerthall, in Opera you'll see nothing. This is just an example of
one of the sites that do not work under Opera. Opera reports errors (and
possibly Opera is right) while FF is just working. Whatever the
technical reason may be, these things are very annoying for the
Opera user. I wonder if other people have the same problem here.

R.

Debian testing (Squeeze) on an amd64 an 64bit java. Same problem with
Debian Lenny, 32 bits.

--
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht |
| Public key and email address: |
| http://www.lucassen.org/mail-pubkey.html |
+------------------------------------------------------------------+
Back to top
Login to vote
Jan van Gent

External


Since: May 26, 2009
Posts: 9



(Msg. 6) Posted: Wed Jun 10, 2009 7:20 am
Post subject: Re: Java(-applets) for Opera 10-beta on AMD64 - howto [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 10 Jun 2009 10:29:53 +0200, richard lucassen <spamtrap.TakeThisOut@xaq.nl>
wrote:

> On Wed, 10 Jun 2009 09:22:06 +0200
> Eirik Byrkjeflot Anonsen <eirik.TakeThisOut@opera.com> wrote:
>

>
> It works, but not always and this is very annoying somtimes. In Opera I
> get all sorts of errors, while FF just works without a problem.
> Apparently there is a difference between the two ways of implementing
> Java. I like Opera, it works fine, but it is impossible to work
> Opera-only. E.g., go to:
>
> http://www.concertgebouw.nl/
>
> Click on a concert and click "bestel" (order). In FF you'll see a map of
> the concerthall, in Opera you'll see nothing. This is just an example of
> one of the sites that do not work under Opera. Opera reports errors (and
> possibly Opera is right) while FF is just working. Whatever the
> technical reason may be, these things are very annoying for the
> Opera user. I wonder if other people have the same problem here.

I doubt that is java. Seems javascript to me. Pic is there, but rendered
left -447 in Opera.
Dunno why. Rendering bug?

Try user Css mode and pic is shown.

Jan

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Back to top
Login to vote
richard lucassen

External


Since: Nov 30, 2008
Posts: 11



(Msg. 7) Posted: Wed Jun 10, 2009 1:20 pm
Post subject: Re: Java(-applets) for Opera 10-beta on AMD64 - howto [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 10 Jun 2009 11:51:46 +0200
"Jan van Gent" <janvan{away}gent@zonnet.nl> wrote:

> > It works, but not always and this is very annoying somtimes. In
> > Opera I get all sorts of errors, while FF just works without a
> > problem. Apparently there is a difference between the two ways of
> > implementing Java. I like Opera, it works fine, but it is impossible
> > to work Opera-only. E.g., go to:
> >
> > http://www.concertgebouw.nl/
> >
> > Click on a concert and click "bestel" (order). In FF you'll see a
> > map of the concerthall, in Opera you'll see nothing. This is just an
> > example of one of the sites that do not work under Opera. Opera
> > reports errors (and possibly Opera is right) while FF is just
> > working. Whatever the technical reason may be, these things are very
> > annoying for the Opera user. I wonder if other people have the same
> > problem here.
>
> I doubt that is java. Seems javascript to me. Pic is there, but
> rendered left -447 in Opera.
> Dunno why. Rendering bug?
>
> Try user Css mode and pic is shown.

Strange, still no picture. What do you mean by "left -447"? At
pixel position -447, left from the screen?

Anyway, it's still an annoying thing. Like the Dutch ING bank, this
site works wel, but in Opera the checkbox "add to addressbook" does not
work. As well as the "Dreambox", a satellite receiver appliance, in
Opera the drop down menu's are missing. FF no prob.

At the moment I'm not able to test these sites in Opera under Windows.

Btw: Opera-10 beta: same story.

R.

--
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht |
| Public key and email address: |
| http://www.lucassen.org/mail-pubkey.html |
+------------------------------------------------------------------+
Back to top
Login to vote
Jan van Gent

External


Since: May 26, 2009
Posts: 9



(Msg. 8) Posted: Wed Jun 10, 2009 3:20 pm
Post subject: Re: Java(-applets) for Opera 10-beta on AMD64 - howto [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 10 Jun 2009 18:47:46 +0200, richard lucassen <spamtrap.DeleteThis@xaq.nl>
wrote:

> On Wed, 10 Jun 2009 11:51:46 +0200
> "Jan van Gent" <janvan{away}gent@zonnet.nl> wrote:
>
>> > It works, but not always and this is very annoying somtimes. In
>> > Opera I get all sorts of errors, while FF just works without a
>> > problem. Apparently there is a difference between the two ways of
>> > implementing Java. I like Opera, it works fine, but it is impossible
>> > to work Opera-only. E.g., go to:
>> >
>> > http://www.concertgebouw.nl/
>> >
>> > Click on a concert and click "bestel" (order). In FF you'll see a
>> > map of the concerthall, in Opera you'll see nothing. This is just an
>> > example of one of the sites that do not work under Opera. Opera
>> > reports errors (and possibly Opera is right) while FF is just
>> > working. Whatever the technical reason may be, these things are very
>> > annoying for the Opera user. I wonder if other people have the same
>> > problem here.
>>
>> I doubt that is java. Seems javascript to me. Pic is there, but
>> rendered left -447 in Opera.
>> Dunno why. Rendering bug?
>>
>> Try user Css mode and pic is shown.
>
> Strange, still no picture. What do you mean by "left -447"? At
> pixel position -447, left from the screen?

Yes, that's sometimes done by purpose with hover-over elements. Here i
can't find why it's rendered left from the screen by Opera. Well it's a
table td colspan thing from the row above. If you change the colspan
attribute to 1 the pics is shown. (Done in DragonFly)
Probably you should file a bug report for this one.

> Anyway, it's still an annoying thing. Like the Dutch ING bank, this
> site works wel, but in Opera the checkbox "add to addressbook" does not
> work.

That one does work. Workaround switching to user css mode. (shift G)

> As well as the "Dreambox", a satellite receiver appliance, in
> Opera the drop down menu's are missing. FF no prob.

Do you have a url?

> At the moment I'm not able to test these sites in Opera under Windows.

Same story. It's opera specific.

Btw: Opera-10 beta: same story.
>
> R.
>



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Back to top
Login to vote
richard lucassen

External


Since: Nov 30, 2008
Posts: 11



(Msg. 9) Posted: Thu Jun 11, 2009 5:20 am
Post subject: Re: Java(-applets) for Opera 10-beta on AMD64 - howto [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Wed, 10 Jun 2009 21:10:16 +0200
"Jan van Gent" <janvan{away}gent@zonnet.nl> wrote:

> > Anyway, it's still an annoying thing. Like the Dutch ING bank, this
> > site works wel, but in Opera the checkbox "add to addressbook" does
> > not work.
>
> That one does work. Workaround switching to user css mode. (shift G)

ok, thnx

> > As well as the "Dreambox", a satellite receiver appliance, in
> > Opera the drop down menu's are missing. FF no prob.
>
> Do you have a url?

It's an internal box but if you are interested you send me your ip and
I'll put port 80 on an external ip.

R.

--
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht |
| Public key and email address: |
| http://www.lucassen.org/mail-pubkey.html |
+------------------------------------------------------------------+
Back to top
Login to vote
Jan van Gent

External


Since: May 26, 2009
Posts: 9



(Msg. 10) Posted: Thu Jun 11, 2009 5:20 am
Post subject: Re: Java(-applets) for Opera 10-beta on AMD64 - howto [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 11 Jun 2009 09:55:54 +0200, richard lucassen <spamtrap.DeleteThis@xaq.nl>
wrote:

> On Wed, 10 Jun 2009 21:10:16 +0200
> "Jan van Gent" <janvan{away}gent@zonnet.nl> wrote:

>> > As well as the "Dreambox", a satellite receiver appliance, in
>> > Opera the drop down menu's are missing. FF no prob.
>>
>> Do you have a url?
>
> It's an internal box but if you are interested you send me your ip and
> I'll put port 80 on an external ip.

Ah, no need, have you tried changing UA or masking as IE

Jan


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Back to top
Login to vote
richard lucassen

External


Since: Nov 30, 2008
Posts: 11



(Msg. 11) Posted: Thu Jun 11, 2009 7:20 am
Post subject: Re: Java(-applets) for Opera 10-beta on AMD64 - howto [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Thu, 11 Jun 2009 10:39:03 +0200
"Jan van Gent" <janvan{away}gent@zonnet.nl> wrote:

> > It's an internal box but if you are interested you send me your ip
> > and I'll put port 80 on an external ip.
>
> Ah, no need, have you tried changing UA or masking as IE

Indeed, I just tried and identifying as FireFox works (identifying as IE
gives the same problem)

Thnx! Smile

--
___________________________________________________________________
It is better to remain silent and be thought a fool, than to speak
aloud and remove all doubt.

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht |
| Public key and email address: |
| http://www.lucassen.org/mail-pubkey.html |
+------------------------------------------------------------------+
Back to top
Login to vote
Helmut Jarausch

External


Since: Mar 08, 2005
Posts: 8



(Msg. 12) Posted: Sun Jun 14, 2009 7:20 am
Post subject: Re: Java(-applets) for Opera 10-beta on AMD64 - howto [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Eirik Byrkjeflot Anonsen wrote:

> Nice to hear that it works, though Smile

Finally, I've got it running.
There is one trap, though.

I have to specify the Java path (in my case)
/opt/sun-jdk-1.6.0.14/jre/lib/amd64

BUT that directory doesn't contain libjvm.so which
is sought by Opera.

The following trick solved this:

pushd /opt/sun-jdk-1.6.0.14/jre/lib/amd64
ln -s server/libjvm.so .
popd

Now, there is a symlink to
/opt/sun-jdk-1.6.0.14/jre/lib/amd64/server/libjvm.so
in the directory
/opt/sun-jdk-1.6.0.14/jre/lib/amd64

PLEASE fix Opera to look for
<JAVA DIRECTORY>/server as well
when searching libjvm.so

This is with Opera 10.00 Beta (Build 4402)
on GenToo 64 bit (AMD64)


--
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
Back to top
Login to vote
Display posts from previous:   
Related Topics:
java plugin for AMD64 - I'm running FC5 and have installed Blackdown's j2re (1.4.2). I've linked the supplied plugin to..

[gentoo-user] Java java java, I miss my java - It's been about 9 months now that Java 1.5 has been an official release from Sun and I see no ebuilds, masked or not. ....

Applets are not working with Mozilla 1.5!!! - I have Linux RH8.0. I tried to look on a page:..

3D und Applets - Hallo NG! Wer kann mir weiterhelfen? Ich habe die Vermutung, dass meine Grafikkarte noch nicht richtig konfiguriert..

[gentoo-user] wnck-applets problem - Guys, my gmplayer used to run fine earliar..before installed gnome-2.14.. now after the upgrade.. the gmplayer would..

[gentoo-user] What is the new!shiny! way of changing the j.. - Hi, I'm a JAVA programmer & use gentoo linux to test my apps against as many JDK versions as I can :-). With java-c...
       Soft32 Home -> Linux -> Opera All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
  Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]