To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115596
                 Issue #|115596
                 Summary|javaldx: Could not find a Java Runtime Environment
               Component|api
                 Version|1.0.0
                Platform|Unknown
                     URL|
              OS/Version|Linux
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|peterhammer





------- Additional comments from peterham...@openoffice.org Mon Nov 15 17:13:25 
+0000 2010 -------
Dear all, I'm having this problem in one Linux server.

In this machine I run a Java application that connects to OO and converts any
file I require to PDF. This is working fine in every server except this one. I
just can't find the difference.

The one that fails, hangs up when calling the OO services with the error
"javaldx: Could not find a Java Runtime Environment!".

I've deleted the "javasettings_Linux_x86.xml" file, as suggested in many posts,
and OO created it again, but the file is created exactly the same and the error
keeps happening.

I believe that the contents of this file are wrong, so tried to fix it manually
but with out any success (except that the message does not appear any more, but
hangs in the same line of code).

Here is the not-working XML:

<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<enabled xsi:nil="true"></enabled>
<userClassPath xsi:nil="true"></userClassPath>
<vmParameters xsi:nil="true"></vmParameters>
<jreLocations xsi:nil="true"></jreLocations>
<javaInfo xsi:nil="true"></javaInfo>
</java>

And here is a working XML from another server (the asterisks in vendorData
represent some sort of hash):

<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<enabled xsi:nil="true"/>
<userClassPath xsi:nil="true"/>
<vmParameters xsi:nil="true"/>
<jreLocations xsi:nil="true"/>
<javaInfo xsi:nil="false" vendorUpdate="2004-01-30" autoSelect="true">
<vendor>Sun Microsystems Inc.</vendor>
<location>file:///data/java/jdk1.6.0_05/jre</location>
<version>1.6.0_05</version>
<features>0</features>
<requirements>1</requirements>
<vendorData>6600*****</vendorData>
</javaInfo>
</java>

So I added the missing tags to the first XML (javaInfo, vendor, location,
version, features, requirements and vendorData). As I said before no change seen
when running the code, except that the error line is no longer printed in the
java console.

Maybe the problem is the vendorData tag, but I think it is something more
complex, because most users with this issue just deleted the file and the new
one works fine.

I'm a little overwhelmed with this problem and can't find any solutions. I don't
know how to tell OO of my java packages present on the server. Either for OO to
create the file accordingly or to write it myself with the correct values.

Any help in this matter will be more than welcome.

Thanks in advance.

Best regards,
Peter.

Some info of the server:
uname -a: Linux homero 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008
x86_64 x86_64 x86_64 GNU/Linux
which java: /usr/bin/java (correct path, using 1.6.0.16)
OO version: 3.0.1
Using java BootstrapConnector.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@api.openoffice.org
For additional commands, e-mail: issues-h...@api.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to