Summary: | M1, apple silicon languagetool installation bug: The service com.sun.star.loader.Java2 cannot be instantiated | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Anduril <daniele.e.grasso> |
Component: | Extensions | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | daniele.e.grasso |
Priority: | medium | ||
Version: | 7.2.6.2 release | ||
Hardware: | ARM | ||
OS: | macOS (All) | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Attachments: |
The way advanced section (java) looks in preferences
The way Languagetools looks in Extension Manager after installation |
Description
Anduril
2022-04-02 10:58:30 UTC
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. |