incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 66923] Can't Find JRockit JVM
Date Sun, 10 Jun 2012 22:33:10 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=66923

Ariel Constenla-Haile <arielch@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arielch@apache.org

--- Comment #12 from Ariel Constenla-Haile <arielch@apache.org> ---
(In reply to comment #11)
> I have just tried this in OO 3.4. Calc and Write seem to run fine on
> JRockit, but I can't specify that JRockit is my JVM in Options |
> OpenOffice.org | Java, and I can't create a new database in Base without it;
> nor open those created on other machines with the standard JVM.

This was fixed at the time by adding "BEA Systems, Inc." to the vendors map.
Now that Oracle Corporation bought BEA Systems, the vendor is no longer BEA but
Oracle.

There are two issues now:

- in file javavendors.xml (on Linux it is locate in
/opt/openoffice.org/ure/share/misc/javavendors.xml) we set the minimal version
for Oracle vendor as 1.7.0:

  <vendor name="Oracle Corporation">
    <minVersion>1.7.0</minVersion>
  </vendor>

This does not work because the JRockit I'm testing with has "Oracle
Corporation" as vendor, but the version is 1.6.0_31

- the folder where we look for the jvm library does not work, on the JRokit I'm
testing, it's on 

$JROKIT_INSTALL_PATH/jre/lib/amd64/jrockit/libjvm.so

but it's searched on jre/lib/amd64/client/libjvm.so and the other paths set on
getRuntimePaths. None of these paths have jrockit as folder.


char const* const* SunInfo::getRuntimePaths(int * size)
{
    static char const* ar[]= {
#if defined(WNT)
        "/bin/client/jvm.dll",
        "/bin/hotspot/jvm.dll",
        "/bin/classic/jvm.dll"
#elif defined(OS2)
        "/bin/classic/jvm.dll",
#elif UNX
        "/lib/" JFW_PLUGIN_ARCH "/client/libjvm.so",
        "/lib/" JFW_PLUGIN_ARCH "/server/libjvm.so",
        "/lib/" JFW_PLUGIN_ARCH "/classic/libjvm.so"
#endif

    };
    *size = sizeof(ar) / sizeof (char*);
    return ar;
}

----------------------------------------

Solutions:

a) downgrade minimal version to 1.6.0 (AFAIK since Oracle bought BEA Systems,
it delivered only 1.6 versions)

b) add the jrockit folder to the runtime paths

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Mime
View raw message