[Solved] javaldx: Cannot find a Java Runtime Environment

Issues with installing under all GNU/Linux Distributions
Post Reply
asgard
Posts: 5
Joined: Fri May 22, 2009 10:51 am

[Solved] javaldx: Cannot find a Java Runtime Environment

Post by asgard »

SuSe 11.1 fully updated today
AMD x86_64 twin core processor
Java 1.6.0_13 - installed today
OpenOffice 3.1.0 installed today

$PATH includes at end $JRE_HOME/bin.
$JRE_HOME=/usr/java/default/jre, - which does exist and is accessible (as 'root' for the moment)
$JAVA_HOME is the same.
When OpenOffice 3.1.0 starts up the subject line is sent to stderr!!

O3Spaces finds and uses Java, etc quite happily!

I have uninstalled all of the java and openoffice packages which came with SuSe - confirmed by YaST.

What have I forgotten to do - or done in error :crazy: ?

All help gratefully received.
Last edited by Hagar Delest on Tue May 26, 2009 2:23 pm, edited 1 time in total.
Reason: tagged [Solved].
OOo 3.1.X on Linux-Other
User avatar
r4zoli
Volunteer
Posts: 2882
Joined: Mon Nov 19, 2007 8:23 pm
Location: Budapest, Hungary

Re: javaldx: Cannot find a Java Runtime Environment

Post by r4zoli »

I just updated OOo on opensuse 10.3 i586 to 3.1.0.2 version(Unstable), and no such problem, may be it is x86_64 issue.
Try to install OOo from OOo site, it can be installed parallel to opensuse version, they have different user profiles, will not touch each other installation.
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
asgard
Posts: 5
Joined: Fri May 22, 2009 10:51 am

Re: javaldx: Cannot find a Java Runtime Environment

Post by asgard »

Unfortunately I have not used the SuSe distributed version since version 3 - now using 3.1. I needed to re-install Sun Java rather than the SuSe one for compatibility with O3Spaces - so I threw away all of the original SuSe distribution packages and re-installed from scratch having downloaded from Sun (java) and OpenOffice (v3.1.0

Sorry about that - but the problem still exists!
OOo 3.1.X on Linux-Other
User avatar
Hagar Delest
Moderator
Posts: 33394
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: javaldx: Cannot find a Java Runtime Environment

Post by Hagar Delest »

If you go to Tools>Options>OOo>Java, after a while, OOo should display the list of the JRE versions detected. If you check one, does it work?
LibreOffice 25.2 on Linux Mint Debian Edition (LMDE Faye) and 24.8 portable on Windows 11.
User avatar
r4zoli
Volunteer
Posts: 2882
Joined: Mon Nov 19, 2007 8:23 pm
Location: Budapest, Hungary

Re: javaldx: Cannot find a Java Runtime Environment

Post by r4zoli »

You installed Java 32 bit and OOo 32 bit version, or java 64 bit and OOo 64 bit?
OOo 32 bit can work with Java 64 without problem in compatibility mode, IIRC.
AOO 4.0 and LibO 4 on Win 8
Hungarian forum co-admin
asgard
Posts: 5
Joined: Fri May 22, 2009 10:51 am

Re: javaldx: Cannot find a Java Runtime Environment

Post by asgard »

Having just checked the Tools->Option->OOo->Java settings on my 64-bit server it refuses to find any jre. I checked on my 32-bit laptop which has the same (but 32-bit) software and it found, correctly three different jres - and OpenOffice obviously finds that too.

I then ran the jcontrol script on the 64-bit server - and that found all three jres! On the 32-bit laptop jcontrol produced identical results.

On both machines running "java -version" at the command line produces identical reports "SE Runtime Environment (build 1.6.0_13-b03) with Java HotSpot 64-bit server (build 11.3-b02, mixed mode).

Again on both machines OpenOffice reports itself as 3.1.0, OOO310m11 (Build 9399)

Whether or not it is of any relevance, my Server is trialling O3Spaces - and that does not seem to be able to find Java for the Workspace Application - even though java is happily running the O3Spaces application. With O3Spaces, however, I have different (possibly java-related) behaviour on the two machines.

As before I am thoroughly mystified. I don't know which of 3 'packages' to suspect - Sun Java, OpenOffice or, indeed, O3Spaces - perhaps all three??!!
OOo 3.1.X on Linux-Other
asgard
Posts: 5
Joined: Fri May 22, 2009 10:51 am

Re: javaldx: Cannot find a Java Runtime Environment

Post by asgard »

For quite what reason I am not certain, but I downloaded Sun Java again and unpacked it in a different directory. I deleted the original jre - which appeared to contain exactly the same as the one just unpacked. Finally I moved the unpacked jre directory to /usr/java - and at least OpenOffice works without complaining of missing Java - the Tools->Options->OOo->java menu item finds the jre!!

I must have driven the gremlin out of the system!
OOo 3.1.X on Linux-Other
Post Reply