You are here

LanguageTool requires a 64-bit LO since version 5.9

15 posts / 0 new
Last post
Anton_D
Offline
Last seen: 2 months 5 days ago
Translator
Joined: 2018-01-20 12:43
LanguageTool requires a 64-bit LO since version 5.9

Because of some internal changes (Hunspell right now requires and uses an 64-bit version), LanguageTool right now effectively supports only the 64-bit version of the LibreOffice.

I know, this was discussed many times in the past, even from myself. But: could we reconsider to do so? Because of the topic and the fact, that many things has changed since the last such discussion? And we don't need a big installation with both 64-bit and 32-bit versions inside, like FFx. The Google Chrome like separate distribution should be ok.

If it still isn't possible, please provide some instructions, how could I achieve this locally? Is it enough to copy the files from 64-bit installation over the 32-bit ones in the App folder?

John T. Haller
John T. Haller's picture
Online
Last seen: 32 min 6 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
64-bit Issues

It seems this off by default plugin also requires a 64-bit JRE as well as 64-bit LibreOffice if what you're saying is correct. I don't see mentions of it only working on 64-bit at the moment, though. Lots of posts about people having issues getting it working over the years, though, with local installs.

The Chrome setup is non-standard and will eventually be combined. We won't be doing separate app packages for 32-bit and 64-bit as a general rule.

Sometimes, the impossible can become possible, if you're awesome!

Anton_D
Offline
Last seen: 2 months 5 days ago
Translator
Joined: 2018-01-20 12:43
Thank you for your answer.

Thank you for your answer. Looks like there is not so much chances to see 64-bit version of the LO in the near future. I would probably try to create it by my self. Just one question: where I can get the information, which files were removed to make the standard version from the multilingual all version?

Anton_D
Offline
Last seen: 2 months 5 days ago
Translator
Joined: 2018-01-20 12:43
LanguageTool requires a 64-bit LO since version 5.9

Of course, you are right. There is no direct mention, that current version requires a 64-bit Java. But as soon as you install it and press F7 to start the check, you get a Java exception with the following text:

Caused by: java.lang.RuntimeException: Could not create hunspell instance. Please note that LanguageTool supports only 64-bit platforms (Linux, Windows, Mac) and that it requires a 64-bit JVM (Java).

So, 64-bit is required for this extension to work.

What about the 64-bit discussion, which I try to avoid: one will see, with a time, that more and more applications will only have a 64-bit version, but the 32-bit one will be dropped. KeePassXC just dropped the Win32 builds a couple month ago. Oracle isn't offering a 32-bit Java over 5 years.

My suggestion: just some check-box in the settings to prefer the 64-bit versions over the 32-bit,only if the 64-bit version exists. And check box should be grayed out if the platform is running on the 32-bit operating system. This way we keep the status quo. And it only would be changed by the people, which know what they are doing.

Of course, it could be a problem in the case of moving the applications around via USB-Stick. This way it would be hard to start your applications, some of them in only 64-bit version, if the internet-cafe only has computers with 32-bit OS.

About 64-bit portable LO: in some old discussion about it, somebody suggested to just take the binaries from local 64-bit installation and replace the 32-bit ones in the App folder. Does this still work? Another question about it: I only need the binaries, so no data in data folder should be overwritten?

Abraxian
Offline
Last seen: 2 weeks 3 days ago
Joined: 2010-08-18 10:40
32-bit Oracle JRE is Available

Anton_D said, "Oracle isn't offering a 32-bit Java over 5 years."

That is incorrect. Oracle JRE is still available in 32-bt. See here: https://www.java.com/en/download/manual.jsp The release to download would be Windows Offline

Use Portable Apps on both Flash Drive and HDD/SSD.

Anton_D
Offline
Last seen: 2 months 5 days ago
Translator
Joined: 2018-01-20 12:43
Technically, you are right.

Technically, you are right. But the only 32-bit version you get from Oracle is Java 8. They stop to release a 32-bit version from the Java 9 on, and this was slightly more than 5 ears ago.
Of course, one can still find some OpenJDK 32-bit builds of releases after Java 8, even with current Java 19.

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Online
Last seen: 48 min 7 sec ago
Translator
Joined: 2019-07-19 07:09
Give it a try ↓↓

Description
NOTE: Starting with LibreOffice 7.4, LanguageTool can be used from LibreOffice without this add-on. Please see this article for details.

https://extensions.libreoffice.org/en/extensions/show/languagetool

Three decades AD. Romans fight Christianity.
Three centuries AD. Romans Adopt Christianity.

-Neo Buddha-

Anton_D
Offline
Last seen: 2 months 5 days ago
Translator
Joined: 2018-01-20 12:43
Wrong information

If you would read the linked text, you will see, that they are talking about online connected spell checker. But I still need some working offline checker. What can we do next to solve this?

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Online
Last seen: 48 min 7 sec ago
Translator
Joined: 2019-07-19 07:09
The Algorithmic Reasoning!

Nothing wrong! I wanted to point out this new feature as an alternative, not as a solution for your problem.

Three decades AD. Romans fight Christianity.
Three centuries AD. Romans Adopt Christianity.

-Neo Buddha-

Anton_D
Offline
Last seen: 2 months 5 days ago
Translator
Joined: 2018-01-20 12:43
Sorry!

I didn't try to offend somebody or to be offended. Wink Just pointed to some information that extension developer forgot to mention in the headline.

So, my question still - what can I do about it? Or how can I create an 64-bit portable version of LO?

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Online
Last seen: 48 min 7 sec ago
Translator
Joined: 2019-07-19 07:09
Don't worry, you weren't rude

Don't worry, you weren't rude, just a bit bored Boredom

On-topic: I only have to suggest you the online solution and/or to stay with the old 32 bit version.
According to John, LO's process is more difficult than other apps, and will considerably increase the app's size (dual mode). So, making a 32+64 bit version of LO just because of an offline plugin, sounds like The mountain in labor giving birth to a mouse.

Dura veritas, sed veritas.

Three decades AD. Romans fight Christianity.
Three centuries AD. Romans Adopt Christianity.

-Neo Buddha-

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Online
Last seen: 48 min 7 sec ago
Translator
Joined: 2019-07-19 07:09
Making tests, updating..

I'm still having my old LO installation that I didn't want to uninstall, also some related backups..

  • LanguageTool 5.7 was already installed, since LO 7.2.x or 7.3.x
  • LO was upgraded until 7.4.2 without relevant issues. Today, I've updated LanguageTool to v 5.9.1, without any problems.
  • LanguageTool 5.9.1 also works on LO (portable) 7.3.5.

PS. Unable to reproduce the successful installation, while making tests (Win 7 x64) with LO 7.3.5 + LT 5.7 → upgrading to LO 7.4.x + updating LT to 5.9.1.

TLDR; It works (under certain conditions), still hard to reproduce, but I'll summarize later..

Three decades AD. Romans fight Christianity.
Three centuries AD. Romans Adopt Christianity.

-Neo Buddha-

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Online
Last seen: 48 min 7 sec ago
Translator
Joined: 2019-07-19 07:09
Latest LanguageTool (5.9.1) works on LibreOffice Portable 7.4.3

Reproducible steps ↓↓

  • Getting the an error occurred during file opening dialog box since the first attempt, means that the installation has failed.
  • Move your "LibreOfficePortable" folder to your HDD's root (C:\ for example, avoid long paths).
  • run LibreOfficePortable.exe & install LanguageTool. It may take a few seconds before showing a Could not create Java implementation loader dialog box. Which means, the installation has succeeded!
  • Move your "LibreOfficePortable" folder to its default location (platform).
  • Run LibreOffice, and check if LanguageTool is installed. It should appear as deactivated. Try to activate it. You'll get some errors.
  • Close LibreOffice, and make sure that the soffice.bin process isn't still running, otherwise kill it!
  • Move it (again) to your HDD's root, and run LibreOfficePortable.exe.

  • Check your extensions. LanguageTool should be installed and activated.
  • Restore your "LibreOfficePortable" folder to its default location, and enjoy your offline extension!

PS. Tested on Windows 7 x64.

Three decades AD. Romans fight Christianity.
Three centuries AD. Romans Adopt Christianity.

-Neo Buddha-

Anton_D
Offline
Last seen: 2 months 5 days ago
Translator
Joined: 2018-01-20 12:43
Thank you for your reply, but

Thank you for your reply, but: could you possibly mix this issue (64-bit version required) with my another issue (can't install or update the LanguageTool extension recently)?

ANTICHRISTUS REX
ANTICHRISTUS REX's picture
Online
Last seen: 48 min 7 sec ago
Translator
Joined: 2019-07-19 07:09
You're welcome, and..

Looks like I had similar issues with other extensions (not necessary requiring Java).
Let's wait for LO 7.5, and I'll try to make a new detailed thread about all problems I may encounter!

Three decades AD. Romans fight Christianity.
Three centuries AD. Romans Adopt Christianity.

-Neo Buddha-

Log in or register to post comments