Description: unlike java JRE x86, OpenJDK (Eclipse Adoptium) JRE x86 appears in java options' list with Libreoffice x64. If a user select this option, Base will not run correctly Steps to Reproduce: 1.Use Windows x64 2. install 2 versions off OpenJDK (x86 and x64) 3.Install Libreoffice 7.1.7.2 (not listed in bugzilla ?) 4.Open Tools -> Options -> Libreoffice -> advanced 5.see Java options "vendor" list Actual Results: 2 versions off OppenJDK appear: -Eclipse Adoptium 11.0.13 (OpenJDK x64) with the folder "C:\Program Files\Eclipse Adoptium\jre-11.0.13.8-hotspot" -Eclipse Adoptium 11.0.13 (OpenJDK x86) with the folder "C:\Program Files (x86)\Eclipse Adoptium\jre-11.0.13.8-hotspot" Expected Results: see just x64 version (like java JRE versions): -Eclipse Adoptium 11.0.13 (OpenJDK x64) with the folder "C:\Program Files\Eclipse Adoptium\jre-11.0.13.8-hotspot" Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.1.7.2 (x64) / LibreOffice Community Build ID: c6a4e3954236145e2acb0b65f68614365aeee33f CPU threads: 2; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: fr-FR (fr_FR); UI: fr-FR Calc: threaded
Created attachment 176257 [details] Advanced java options list
Created attachment 176258 [details] The same with Java JRE
Just for the test, could you give a try with 7.2.2 + brand new LO profile (see https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile)?
I'd be inclined to mark this as a duplicate of bug 144695, despite it being specific to Windows, so for the time being, I'll just point to the other bug report. See also Stefan's comment in comment 2 on bug 144695.
Hello, No, there is no links. OpnJDK works fine after with base! Regards
(In reply to Julien Nabet from comment #3) > Just for the test, could you give a try with 7.2.2 + brand new LO profile > (see > https://wiki.documentfoundation.org/QA/FirstSteps#Corrupted_user_profile)? Hello, It's already done No change
Thank you paour for your quick feedback. Stephan: since it concerns Java, thought you might be interested in this one.
This is a regression introduced with <https://git.libreoffice.org/core/+/3d27b2fa9c5a03f78e5145377402f8a88e3da1be%5E!/> "tdf#124503: Support JRE installations with unknown java.vendor property" that will be fixed in LibreOffice 7.3 thanks to <https://git.libreoffice.org/core/+/3460c16d7f749d8d2a59d8b927df5ec31f64a083%5E!/> "Make getVersionInformation always return a VersionInfo". (What happens is that in jfw_plugin_getAllJavaInfos in jvmfwk/plugins/sunmajor/pluginlib/sunjavaplugin.cxx, in the loop across all vecInfos, checkJavaVersionRequirements was only called for a given vecInfo if > vendorSettings.getVersionInformation(vecInfo->getVendor()) returns something, which it did not for a vecInfo representing a JRE from a vendor not listed in gVendorMap in jvmfwk/plugins/sunmajor/pluginlib/vendorlist.cxx, like "Eclipse Adoptium".)