[Issue+Workaround] OOo 2.4 and Java
[Issue+Workaround] OOo 2.4 and Java
Have built/installed OOo 2.4 on ~amd64/x86_64 with java support. In Gentoo terms these USE flags were used:
cups dbus eds firefox java kde ldap pam -binfilter -debug ...
At starting any OOo programm konsole shows:
javaldx failed!
Tool-Options-Java dialog finds all three installed JREs, but after selecting radio control for any of them and clicking OK nothing changes (say, macros still don't work). Next time the dialog finds JREs again (nothing checked at dialog opening).
Please, help!
cups dbus eds firefox java kde ldap pam -binfilter -debug ...
At starting any OOo programm konsole shows:
javaldx failed!
Tool-Options-Java dialog finds all three installed JREs, but after selecting radio control for any of them and clicking OK nothing changes (say, macros still don't work). Next time the dialog finds JREs again (nothing checked at dialog opening).
Please, help!
Last edited by Hagar Delest on Fri Mar 13, 2009 3:53 pm, edited 3 times in total.
Reason: Tagged thread as Issue (link to a bug report).
Reason: Tagged thread as Issue (link to a bug report).
-
- Posts: 3
- Joined: Fri Mar 28, 2008 11:06 am
Re: OOo 2.4 and Java
I have a similar problem on my ~x86 gentoo system (2007.0 profile).
OOo 2.3.x and 2.4 and any kind of java (blackdown, sun version 1.4 - 1.6). Both
with the binary OOo and compiled version are failed to detect java environment.
And more: the Tool-Options-Java never find my installed JREs, even I try
to give the path exactly. It never recognize the java environment. I
have no idea, why.
I checked system-vm, user-vm, I installed lot of JREs, SDKs, but no results.
It is really weird and annoying. I cannot find The Ultimate Solution to
this kind of problem using google.
So, I cannot help, but at least, you are not alone
Anyway, it would be nice to find out, how to solve this kind of issue. Maybe the description of the correct procedure, how to OOo tries to find the java environment should help.
István
OOo 2.3.x and 2.4 and any kind of java (blackdown, sun version 1.4 - 1.6). Both
with the binary OOo and compiled version are failed to detect java environment.
And more: the Tool-Options-Java never find my installed JREs, even I try
to give the path exactly. It never recognize the java environment. I
have no idea, why.
I checked system-vm, user-vm, I installed lot of JREs, SDKs, but no results.
It is really weird and annoying. I cannot find The Ultimate Solution to
this kind of problem using google.
So, I cannot help, but at least, you are not alone
Anyway, it would be nice to find out, how to solve this kind of issue. Maybe the description of the correct procedure, how to OOo tries to find the java environment should help.
István
- Hagar Delest
- Moderator
- Posts: 32668
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: OOo 2.4 and Java
Seems similar to that issue: Re: [Ubuntu] Installing OOo on Debian and Co.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
-
- Posts: 3
- Joined: Fri Mar 28, 2008 11:06 am
Re: OOo 2.4 and Java
I guess, yes.
Except, on my 32 bit system I only have 32 bit java.
Anyway, OOo working well on my system, except that, it does not want to find any java, even I cry to my computer.
István
Except, on my 32 bit system I only have 32 bit java.
Anyway, OOo working well on my system, except that, it does not want to find any java, even I cry to my computer.
István
Re: OOo 2.4 and Java
Of course, I have both all JREs 64bit as well as OOo is - last one is built on 64 bit system.Hagar de l'Est wrote:Seems similar to that issue: Re: [Ubuntu] Installing OOo on Debian and Co.
- Hagar Delest
- Moderator
- Posts: 32668
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: OOo 2.4 and Java
As there is no official version in 64 bits IIRC, perhaps there is still a problem for OOo to recognize a 64 bits version of Java?
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: OOo 2.4 and Java
If we take into account pongracz.istvan's message, the problem seems to be tolerant to 32bit or 64bit arch difference. And OOo 2.3.x finds and works with Java without problems (it is also at my case with 2.3.x built on x86_64 system, rather binary distribution).Hagar de l'Est wrote:As there is no official version in 64 bits IIRC, perhaps there is still a problem for OOo to recognize a 64 bits version of Java?
- Hagar Delest
- Moderator
- Posts: 32668
- Joined: Sun Oct 07, 2007 9:07 pm
- Location: France
Re: OOo 2.4 and Java
Right. In that case, you should check the Issue tracker: [Tutorial] Reporting bugs.
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Re: OOo 2.4 and Java
Thanks, done:Hagar de l'Est wrote:Right. In that case, you should check the Issue tracker: [Tutorial] Reporting bugs.
http://www.openoffice.org/issues/show_bug.cgi?id=87549
Not sure about priority (for me it is a stopper, for somebody it can have not any value at all), have selected P2.
-
- Posts: 3
- Joined: Fri Mar 28, 2008 11:06 am
SOLVED - Re: OOo 2.4 and Java - workaround
I did the following:
sed -i 's/XINERAMA/FAKEEXTN/g' /opt/sun-jdk-1.6.0.05/jre/lib/i386/xawt/libmawt.so
After this I got Sun JRE working on my ~x86 with OOo.
It is interesting, how the hell should I find out this solution????
Thanks for Chris Mayo.
The original post from the gentoo bug site:
------- Comment #10 From Chris Mayo 2008-03-29 09:18:55 0000 [reply] -------
For me this has been (not new with the latest OpenOffice or jdk) an example of:
http://bugs.freedesktop.org/show_bug.cgi?id=11390
http://bugs.sun.com/bugdatabase/view_bu ... id=6532373
doing:
sed -i 's/XINERAMA/FAKEEXTN/g'
/opt/sun-jdk-1.6.0.05/jre/lib/amd64/xawt/libmawt.so
fixes it for me, not sure what other damage it does though.
sed -i 's/XINERAMA/FAKEEXTN/g' /opt/sun-jdk-1.6.0.05/jre/lib/i386/xawt/libmawt.so
After this I got Sun JRE working on my ~x86 with OOo.
It is interesting, how the hell should I find out this solution????
Thanks for Chris Mayo.
The original post from the gentoo bug site:
------- Comment #10 From Chris Mayo 2008-03-29 09:18:55 0000 [reply] -------
For me this has been (not new with the latest OpenOffice or jdk) an example of:
http://bugs.freedesktop.org/show_bug.cgi?id=11390
http://bugs.sun.com/bugdatabase/view_bu ... id=6532373
doing:
sed -i 's/XINERAMA/FAKEEXTN/g'
/opt/sun-jdk-1.6.0.05/jre/lib/amd64/xawt/libmawt.so
fixes it for me, not sure what other damage it does though.