Description: Hi, after upgrading to 7.2.6.2, languagetool extension stopped working, so I tried removing it and reinstalling it. I get this message during installation: ImplementationRegistration::registerImplementation() - The service com.sun.star.loader.Java2 cannot be instantiated I had a look at a number of discussions on this topic around the web and installed a number of different Java flavors: jdk-14.0.2_osx-x64_bin jdk-17.0.2_macos-aarch64_bin jre-8u321-macosx-x64 JavaForOSX (I could not install this one since I get the message that a more recent version has been installed) Languagetool version is the latest: LanguageTool-5.7, but also tried to downgrade to 5.6, 5.4, with no improvement. Also tried reinstalling LO after having installed the Java packages. No improvement. Screenshot 1 my advanced settings in LO Screenshot 2: how the Languagetool Extension looks Extension manager Any help is welcome! Steps to Reproduce: 1. Install 7.2.6.2 2. Install extension Languagetool 5.7 3. You should see the error message in description Actual Results: Languagetool 5.7 does not work Expected Results: Languagetool 5.7 should be flawlessly installed Reproducible: Always User Profile Reset: Yes Additional Info: Version: 7.2.6.2 / LibreOffice Community Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754 CPU threads: 8; OS: Mac OS X 12.2.1; UI render: default; VCL: osx Locale: it-IT (it.UTF-8); UI: en-US Calc: threaded
Created attachment 179274 [details] The way advanced section (java) looks in preferences
Created attachment 179275 [details] The way Languagetools looks in Extension Manager after installation
@Anduril : your JDK isn't recognized, probably because you are using a build architecture version of LO that doesn't correspond to the installed system JDK architecture. If you use LO built for Arm M1, then you need a compatible Arm M1 JDK. Similarly, if you are using an Intel version of LO, then you need the corresponding Java for Intel JDK. On macOS, you can actually have both installed. For example, I have : Oracle JDKs /Library/Java/JavaVirtualMachines/jdk-17_aarch64.jdk/ and /Library/Java/JavaVirtualMachines/jdk-17_x64.jdk/ in order for LO to recognize the installed JDK depending on whether I'm using an Intel build of LO, or a Arm M1 build of LO.
Thank you Alex, I had the right build of Java (among others). My problem was solved upgrading to LO 7.3. I received the suggestion from Asklibreoffice in this thread: https://ask.libreoffice.org/t/installation-problem-m1-apple-silicon-java2-cannot-be-instantiated-languagetool/75985/3 I hope this helps. Now everything is going well.
Per comment 4, WFM.