Bug 148894 - Libreoffice cannot detect IBM Semeru ver 11.15
Summary: Libreoffice cannot detect IBM Semeru ver 11.15
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-02 16:54 UTC by kitmubet
Modified: 2022-09-05 08:51 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kitmubet 2022-05-02 16:54:11 UTC
Description:
libreoffice doesnt detect the latest IBM Semuru open edition JRE/JDK ver 11.0.15
i tried to use the add java from advanced and tried the zip version of the JRE

it can detect the older version of the IBMSemuru ver 11.0.14+1
and the Adoptium (Formerly AdoptOpenJDK) ver 11.0.15



Steps to Reproduce:
1.Tools > Option > Advanced
2. Add path to JDK/JRE 


Actual Results:
folder does not contain java

Expected Results:
detect the java and added to selectable version


Reproducible: Always


User Profile Reset: No



Additional Info:
LibreOffice version Version: 7.3.2.2 (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

JDK version openjdk version “11.0.15” 2022-04-19
IBM Semeru Runtime Open Edition 11.0.15.0 (build 11.0.15+10)
Eclipse OpenJ9 VM 11.0.15.0 (build openj9-0.32.0, JRE 11 Windows 10 amd64-64-Bit
Compressed References 20220422_352 (JIT enabled, AOT enabled)
OpenJ9 - 9a84ec34e
OMR - ab24b6666
JCL - b7b5b42ea6 based on jdk-11.0.15+10)

link to IBM Semuru ( im using the Open Edition)
https://developer.ibm.com/languages/java/semeru-runtimes/downloads/?license=IBM 1
Comment 1 kitmubet 2022-05-08 10:14:02 UTC
ive updated to libreoffice ver 7.3.3.2 still not detecting IBM Semuru 11.15

libreoffice version
Version: 7.3.3.2 (x64) / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 2 Mike Kaganski 2022-05-08 12:47:17 UTC
Likely fixed by commit c7b923a9ebaa40809c11659f8816a1d2bfd44c89
  Author Stephan Bergmann <sbergman@redhat.com>
  Date   Wed May 04 14:22:45 2022 +0200
    Some JREs need the bin/server/jvm.dll path after all
Comment 3 Xisco Faulí 2022-05-10 09:58:42 UTC
Hello Kitmubet,
Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 4 kitmubet 2022-05-11 11:07:59 UTC
(In reply to Xisco Faulí from comment #3)
> Hello Kitmubet,
> Could you please try to reproduce it with a master build from
> http://dev-builds.libreoffice.org/daily/master/ ?
> You can install it alongside the standard version.
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the bug is still present in the master build

its fixed at libreoffice Dev Version 7.3.4+
Version: 7.3.4.0.0+ (x64) / LibreOffice Community
Build ID: 4500514571e389dec40f90d9d40dc568d5e4c490
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 5 kitmubet 2022-05-11 11:24:42 UTC
(In reply to kitmubet from comment #4)
> (In reply to Xisco Faulí from comment #3)
> > Hello Kitmubet,
> > Could you please try to reproduce it with a master build from
> > http://dev-builds.libreoffice.org/daily/master/ ?
> > You can install it alongside the standard version.
> > I have set the bug's status to 'NEEDINFO'. Please change it back to
> > 'UNCONFIRMED' if the bug is still present in the master build
> 
 its fixed at libreoffice Dev Version 7.3.4+ 
 Version: 7.3.4.0.0+ (x64) / LibreOffice Community
 Build ID: 4500514571e389dec40f90d9d40dc568d5e4c490
 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL:
 win
 Locale: en-US (en_US); UI: en-US
 Calc: CL

ive change the status to resolved worksforme or should someone else do it??
Comment 6 Sebastian@SSpaeth.de 2022-06-13 08:59:02 UTC
Sorry, have to reopen,

LO 7.3.4.2 on Win x64 with Java being installed in
C:\Program Files\Semeru\jre-11.0.15.10-openj9

Libreoffice is not able to detect the installed Java runtime.
Comment 7 Sebastian@SSpaeth.de 2022-06-13 09:00:51 UTC
Specific Java version:
IMPLEMENTOR="IBM Corporation"
IMPLEMENTOR_VERSION="11.0.15.0"
JAVA_VERSION="11.0.15"
JAVA_VERSION_DATE="2022-04-19"
FULL_VERSION="11.0.15+10"
SEMANTIC_VERSION="11.0.15+10"
BUILD_INFO="OS: Windows Server 2016 Version: 10.0"
JVM_VARIANT="Openj9"
JVM_VERSION="openj9-0.32.0"
Comment 8 Stephan Bergmann 2022-06-13 09:21:09 UTC
(In reply to Sebastian@SSpaeth.de from comment #6)
> LO 7.3.4.2 on Win x64 with Java being installed in
> C:\Program Files\Semeru\jre-11.0.15.10-openj9

Exactly which Java installation medium did you use, obtained from exactly where?

> Libreoffice is not able to detect the installed Java runtime.

You mean, on the "Java Options" page, "Add..." and selecting that C:\Program Files\Semeru\jre-11.0.15.10-openj9 directory leads to "Warning: The folder you selected does not contain a Java runtime environment. Please select a different folder."?
Comment 9 Mike Kaganski 2022-06-13 14:17:45 UTC
(In reply to Sebastian@SSpaeth.de from comment #6)
> LO 7.3.4.2 on Win x64

... And provide LibreOffice full version information from Help-About, please.
Comment 10 Sebastian@SSpaeth.de 2022-09-05 08:33:02 UTC
Semeru is installed by our Organization's software distribution system, so I can't tell which download it is from, but this is the "release" file:

IMPLEMENTOR="IBM Corporation"
IMPLEMENTOR_VERSION="11.0.15.0"
JAVA_VERSION="11.0.15"
JAVA_VERSION_DATE="2022-04-19"
MODULES="java.base java.compiler java.datatransfer java.xml java.prefs java.desktop java.instrument java.logging java.management java.security.sasl java.naming java.rmi java.management.rmi java.net.http java.scripting java.security.jgss java.transaction.xa java.sql java.sql.rowset java.xml.crypto java.se java.smartcardio jdk.accessibility jdk.attach jdk.charsets jdk.compiler jdk.crypto.ec jdk.crypto.cryptoki jdk.crypto.mscapi jdk.dynalink jdk.internal.ed jdk.editpad jdk.httpserver jdk.internal.jvmstat jdk.internal.le jdk.internal.opt jdk.jartool jdk.javadoc jdk.jcmd jdk.management jdk.management.agent jdk.jconsole jdk.jdeps jdk.jdwp.agent jdk.jdi jdk.jlink jdk.jshell jdk.jsobject jdk.localedata jdk.naming.dns jdk.naming.ldap jdk.naming.rmi jdk.net jdk.pack jdk.rmic jdk.scripting.nashorn jdk.scripting.nashorn.shell jdk.sctp jdk.security.auth jdk.security.jgss jdk.unsupported jdk.unsupported.desktop jdk.xml.dom jdk.zipfs openj9.cuda openj9.dataaccess openj9.traceformat openj9.dtfj openj9.dtfjview openj9.gpu openj9.jvm openj9.sharedclasses openj9.zosconditionhandling"
OS_ARCH="x86_64"
OS_NAME="Windows"
SOURCE="OpenJDK:b7b5b42ea6 OpenJ9:9a84ec34e OMR:ab24b6666"
BUILD_SOURCE="git:63cf706"
BUILD_SOURCE_REPO="https://github.com/ibmruntimes/temurin-build.git"
SOURCE_REPO="https://github.com/ibmruntimes/openj9-openjdk-jdk11.git"
FULL_VERSION="11.0.15+10"
SEMANTIC_VERSION="11.0.15+10"
BUILD_INFO="OS: Windows Server 2016 Version: 10.0"
JVM_VARIANT="Openj9"
JVM_VERSION="openj9-0.32.0"
IMAGE_TYPE="JRE"



Libreoffice version:
Version: 7.4.0.3 (x86) / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US
Calc: CL

A Semeru version 8 is detected by Libreoffice, while the above 11.0.15 is not.
Comment 11 Sebastian@SSpaeth.de 2022-09-05 08:34:38 UTC
And yes, the exact error is the dialog stating "The folder you selected does not contain a Java runtime environment.
Please select a different folder."

Independent on which folder within the semeru installation I try.
Comment 12 Mike Kaganski 2022-09-05 08:51:57 UTC
(In reply to Sebastian@SSpaeth.de from comment #6)
> LO 7.3.4.2 on Win x64 with Java being installed in
> C:\Program Files\Semeru\jre-11.0.15.10-openj9

(In reply to Sebastian@SSpaeth.de from comment #10)
> OS_ARCH="x86_64"
> ...
> Libreoffice version:
> Version: 7.4.0.3 (x86) / LibreOffice Community

You are using a 64-bit Java version, but 32-bit LibreOffice (for completely unclear reason).

As explained in FAQ [1], architecture of Java must match architecture of LibreOffice to be usable by the latter. Either install 64-bit LibreOffice, or add 32-bit Java, to allow them see each other.

[1] https://wiki.documentfoundation.org/Faq/General/InstallJava