Page 1 of 1

[Solved] javaldx: Cannot find a Java Runtime Environment

Posted: Fri May 22, 2009 11:20 am
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.

Re: javaldx: Cannot find a Java Runtime Environment

Posted: Fri May 22, 2009 11:51 am
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.

Re: javaldx: Cannot find a Java Runtime Environment

Posted: Sun May 24, 2009 3:29 am
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!

Re: javaldx: Cannot find a Java Runtime Environment

Posted: Sun May 24, 2009 9:49 pm
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?

Re: javaldx: Cannot find a Java Runtime Environment

Posted: Mon May 25, 2009 2:42 pm
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.

Re: javaldx: Cannot find a Java Runtime Environment

Posted: Tue May 26, 2009 2:06 am
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??!!

Re: javaldx: Cannot find a Java Runtime Environment

Posted: Tue May 26, 2009 6:12 am
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!