LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-20-2005, 11:02 PM   #16
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 30

actually, here's my error messages:

# opera
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
opera: Activated running instance

# export OPERA_FORCE_JAVA_ENABLED=1
# opera
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
QMultiInputContext::changeInputMethod(): index=0, slave=xim
QMultiInputContext::changeInputMethod(): index=0, slave=xim
QMultiInputContext::changeInputMethod(): index=0, slave=xim
QMultiInputContext::changeInputMethod(): index=0, slave=xim
opera: libjava.so: cannot open shared object file: No such file or directory

# opera -debugjava
ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.
opera: [java] There seems to be a preloaded version of Xt.
There is a workaround for this problem in the opera
startup script. If that workaround fails, opera will
most likely crash every time it tries to use Java.
The workaround seems to be working.
Technical explanation:
There is a problem with the order of loading Xt and
Java. If Xt is loaded before libawt (part of Java),
Java will crash when it tries to access the screen.
The workaround is based on using LD_PRELOAD to load
libawt.so first.

opera: [java] The Java enable flag will not be reset
because the OPERA_FORCE_JAVA_ENABLED environment
variable has been defined.

QMultiInputContext::changeInputMethod(): index=0, slave=xim
QMultiInputContext::changeInputMethod(): index=0, slave=xim
QMultiInputContext::changeInputMethod(): index=0, slave=xim
QMultiInputContext::changeInputMethod(): index=0, slave=xim
QMultiInputContext::changeInputMethod(): index=0, slave=xim
QMultiInputContext::changeInputMethod(): index=0, slave=xim
QMultiInputContext::changeInputMethod(): index=0, slave=xim
opera: libjava.so: cannot open shared object file: No such file or directory
 
Old 09-20-2005, 11:03 PM   #17
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I meant the qt-static version of opera. It's under the "Other/Static RPM" label (not Mandrake, RH, Fedora, etc).
 
Old 09-20-2005, 11:15 PM   #18
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 30
OK, my bad adz. I got and installed that one and it does not fix the problem for me.
 
Old 09-21-2005, 01:49 PM   #19
arjunjeyaprakash
LQ Newbie
 
Registered: Sep 2005
Location: India
Distribution: Mandriva
Posts: 13

Original Poster
Rep: Reputation: 0
ty adz ... i got the qt static version ...it works fine now
 
Old 09-21-2005, 06:54 PM   #20
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
chemdawg, I think you may have some additional problems. Your error messages are different to arjunjeyaprakash's.
 
Old 09-22-2005, 03:26 PM   #21
chemdawg
Member
 
Registered: Jan 2005
Distribution: Mandriva
Posts: 206

Rep: Reputation: 30
I concur, adz. I notice there are several people posting on this. What do you think my problem is? What info can i give you to help resolve this?
 
Old 09-22-2005, 08:16 PM   #22
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I'm afraid I didn't find the cause of this problem. So I don't know. Try looking for your errors in google.
 
Old 10-30-2005, 09:42 PM   #23
jmatbastos
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
edit the bash script that starts opera
add the java path

debian:/# vi /usr/bin/opera

#!/bin/sh

# Location of the Opera binaries
OPERA_BINARYDIR=/usr/lib/opera/8.50-20050916.5/
export OPERA_BINARYDIR

# Location of Java
# JB Mon Oct 31 02:10:54 WET 2005
JAVA_HOME="/opt/jre1.5.0_05"
export JAVA_HOME
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Opera 8.02 and Java wildmacaw Linux - Newbie 4 01-01-2007 07:12 AM
Java in Opera... penguinguy Linux - Software 22 01-16-2005 12:48 PM
java for linux/opera firestomper41 Linux - General 2 09-12-2004 03:27 PM
Opera 7 and Java JoeDuncan Linux - Software 3 08-14-2003 01:12 PM
Opera 7.1.0 B1 and Java Vlad_M Linux - Software 4 05-09-2003 12:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration