- This topic has 14 replies, 5 voices, and was last updated Nov 10-1:35 am by caprea.
-
AuthorPosts
-
November 1, 2021 at 11:49 pm #69967Member
Eismckwadraat19
New LO version in Backports will be installed by antiX package Installer as LO Latest.
Tested by forum members. Both LanguageTool and other tested extensions install.
LO Base java requirement fullfilled.Dear everyone,
I am trying to install an extension within libreoffice.
It concerns the following extension:
LibreOffice Extension DutchAfter this, libreoffice gives the following problem:
JNI exception occurred ./stoc/source/javam/javavm.cxx:1592
and:
(com.sun.star.uno.RuntimeException) {{Mesage = ¨JNI exception
occurred ./stoc/source/javavm/javavm.cxx:1592¨ Context =
(com.sun.star.uno.XInterface) @7f41dc0025c8 (implementationName
= ¨com.sun.star.comp.stoc.JavaVirtualMachine¨)}}I searched for java via package installer and installed the following package:
Java 11 installs openjdk-11.After that I restarted my laptop.
Then added the extension to libre office again.
But this didn’t solve the problem…- This topic was modified 1 year, 6 months ago by ModdIt.
-I find capitalism repugnant. It is filthy, it is gross, it is alienating... because it causes war, hypocrisy and competition-
Fidel Castro
November 2, 2021 at 12:09 am #69970MemberPPC
::Hi
Try this: https://www.antixforum.com/forums/topic/libreoffice-wont-launch/#post-68619
If that fails, do what I do- download a libreoffice appimage (from https://www.libreoffice.org/download/appimage/)and install Language Tool in that appimage libreoffice. It may start a bit slower than the regular installed LO, but it’s worth it…
P.
November 2, 2021 at 8:00 am #69985Member
Eismckwadraat19
::Dear PPC,
Step 1 didn´t work but step 2 worked well.
Thank you very much-I find capitalism repugnant. It is filthy, it is gross, it is alienating... because it causes war, hypocrisy and competition-
Fidel Castro
November 2, 2021 at 8:18 am #69986MemberModdIt
::Hi eism*
You can copy Oracle java in to a folder you create: /opt/oracle_java
In Libreoffice writer options extended you can point to the java package
Download java for personal use from oracle site.Open java is not working correctly with some extensions, in particular the LanguageTool
which I really recommend.The appimage works fine as you have seen but has some disadvantages, is not automatic
updating and a bit heavy as it includes all LO and dependant librarys.Also need to add manualy to menu or task bar. Need help with that just ask, I only use
appimage for libreWolf browser as it is not available as deb for bullseye..- This reply was modified 1 year, 6 months ago by ModdIt.
November 2, 2021 at 3:01 pm #70033MemberPPC
::@Moddit:
I tried, a couple of times to reproduce your solution, without success…
Here are the steps I took, on my 64bits computer with antiX 19.X:
1- I downloaded, from https://www.java.com/pt-BR/download/, the file “Linux x64”
2- I extracted the file to my downloads folder
Edit: I also tried copying the extracted folder to /opt
3- I opened LO Writer > Tools > Options > Advanced > “Add” button > added the folder that was extracted from the compressed file. LO’s window displayed “Oracle Corporation, version 1.8…” as being selected.
4- Restarted LibreOffice
5- Tried to install LanguageTool-5.5.1.oxt in LO…It still errors out with the same or similar Java error… Is there something that I’m missing?
Edit2:
While trying to find out the solution to this problem, I found out that LanguageTool can be installed as a stand alone app (meaning a text editor that performs grammar checks- that can be used to create or load or paste text, and then perform the corrections:
Steps to install:
1- Have Java installed (it works with openJDK)
2- From the terminal:
curl -L https://raw.githubusercontent.com/languagetool-org/languagetool/master/install.sh | sudo bash install.sh
3- Run the install.sh file that is created- it installs the Language Tool, it’s a +/- 200mb download, extracts it to a sub-folder called “LanguageTool…” (the current version creates the folder LanguageTool-5.5-stable)
4- Navigate to that folder and run “languagetool.jar” using the command “java -jar ./languagetool.jar” (or associate .jar files with the command “java -jar” in your file manager.
It’s a lighter alternative than running Libreoffice Writer, for folks that just want to correct the grammar of a text file, that can later be formated in a proper word processor (like Writer, etc).
You can also paste your emails there, correct their text and copy back that corrected text to the e-mail client, etc…P.
- This reply was modified 1 year, 6 months ago by PPC.
- This reply was modified 1 year, 6 months ago by PPC.
- This reply was modified 1 year, 6 months ago by PPC.
November 2, 2021 at 7:29 pm #70063MemberModdIt
::Hi PPC this is strange
Following your link I downloaded
Linux x64 tamanho do arquivo: 89.34 MB, unpacked it copied to
/opt/oracle_java/jre1.8.0_311Installed the Language tool 5.51 from downloaded oxt,
yesterday only 5.5 was available, both installed without errors, the newer one a few minutes ago
My present LO Version is 7.2.2.2 but never had issue with previous versions in last year or so, setup
java JRE quite a lot of times both on antiX 19.4 and MX.
Just wondering if we have some kind of issue depending on how LO is installed, I have often installed
and updated from LO Org using dpkg as want latest version. That puts the LO Binarys in Opt.How did you install LO and which version, on 19.4 or 21.
As LO can see the java JRE you installed it should use it.i wonder if your Java download was corrupt or incomplete.
Have seen the separate stand alone language tool option but prefer to use in LO.
Wonder if I can persuade claws to use Language tool without copy and paste.- This reply was modified 1 year, 6 months ago by ModdIt.
November 7, 2021 at 9:37 am #70465MemberModdIt
::Hi all,
yesterday I installed Libreoffice full from Packet installer on a fresh Bullseye 64 bit Runit.Wanted to associate LO with java and failed dismally whatever I did. Needs more brains than I have.
Problems:
Base wants java, or it will not perform as it should, important to students and
certainly for others too.
Language Tool extension requires java, some other plugins need it tooWith an appimage downloaded from libreoffice.org Base works as expected and I was able to install
and use Language Tool.I could also get java associated with LO 7.2.2 downloaded and installed from LO org, installed by entering
sudo dpkg -i *deb in the console and dragging the icon from downloads to rox. You must unpack the tgz first !.
That puts LO in Opt, I put Oracle java in /opt as described in an earlier post. Was able to connect LO to the
package and install language tool.I tried a lot of solutions from the net, all failed. I can see the installed java but not activate in LO.
I do not think this as a problem caused by antiX but LO is a flagship package same goes for LanguageTool.
Beginning to wonder if the backport build is in some way the problem.
Be nice if we could find a way to get this stuff working for granny putt i.e. a normal user.
Before a lot of negative crap starts to circulate about the distro. Got enough yesterday from my daughter,
she fled to her boyfriend to escape the woes. 🙁Help and ideas very welcome. Even getting the appimage setup with start icons os probably enough to make
some users/testers run. They just expect the package installer version to work as expected.- This reply was modified 1 year, 6 months ago by ModdIt.
November 7, 2021 at 12:15 pm #70473MemberPPC
::Beginning to wonder if the backport build is in some way the problem.
…
Help and ideas very welcome. Even getting the appimage setup with start icons os probably enough to make
some users/testers run. They just expect the package installer version to work as expected..I was wondering the same, abiout the backport build, since you said your LO installed from the officel .deb files worked fine with the extension…
Getting the appimage setup with start icons would not be hard:
on /usr/share/applications edit the corresponding LO .desktop files so the Exec: lines run the appimage LO apps:
Ex: for Writer
Exec: [full/path/ti/the/appimage] --writerIn my particular case, I can run Writer from straight from the appimage like so:
‘/home/ppc/Downloads/LibreOffice-fresh.standard-x86_64(1).AppImage’ –writerThe same applies to calc, base, impress…
I can see only one draw back- if you want to open files from the file manager with LO appimage apps, you’ll have to change the corresponding file associations to point to the appimage command – not hard to do, but time consuming, because there are loads of extensions…
EDIT;
I had a crazy idea… If you want to test it, it may break your system, but it’s the easiest way to solve your problem, if it works (I didn’t test it)…
In 64 bits systems:
1- download the desired .appimage LO.
2- rename it, changing it’s extension to .zip
3- Using “sudo file-roller” try opening the .zip file and copy the folders /opt and /usr that are inside it to your system, overwrighting the original files…
4- test installing the desired extensions
EDIT2: Don’t bother, I just tried this, not only the files are, of course copied as root, but it does not work- but does not mess the system up either…P.
- This reply was modified 1 year, 6 months ago by PPC.
- This reply was modified 1 year, 6 months ago by PPC.
- This reply was modified 1 year, 6 months ago by PPC.
November 7, 2021 at 6:00 pm #70520MemberModdIt
::Hi PPC,
Had to grin…sorry should have said, I did unpack an appimage from LO org, same idea, failed too. in any
case nothing for normal users.I know how to make starters for appimage, the issue is for those with even less skill than the bit I have.
And more important that we have a setup from the application installer which allows use of an important for many
main line extension. Grammar German, French much worse, Spanish is not easy, Language tool a real help in cerrection
and for those who learn from corrections a very useful tool.I think the next fresh LO will be downloadable from debian unstable soon, I think repos updating this morning
as unausable.will take a look at that as opposed to
the backport.The LO appimage is easy as old style, newer appimages are more complicated to open. Did Poettering design the new version,
it is so crazy that would fit….November 9, 2021 at 9:25 am #70594MemberModdIt
::Setup a fresh version of Runit Bullseye, updated
Installed latest Debian LibreOffice from Unstable, installed libreoffice java which did not help to install
LanguageTool.
installed debian java packageStarted LibreOffice writer, went to extras, options extended. debian java .. was already found and activated
Language Tool extension installed without issue.
Purged Libreoffice then reinstalled using Package Installer
Java not found, Language tool can not be installed.
Not conclusive but I tend to think the LO packet which the packet installer pulls in is broken or incomplete,
In a fix it would be nice to have debian java included in install as the presently available open java was not recognised
by LO during my testing.May be something I am missing but now know three ways to get a working LanguageTool in LO. Enough time spent, sun shining.
Off to the forest.- This reply was modified 1 year, 6 months ago by ModdIt.
November 9, 2021 at 10:07 am #70596Forum Admin
anticapitalista
::If you can find what Debian unstable installs that debian bullseye-backports doesn’t, we might be able to find a fix.
What about default libreoffice (not latest)?
Are there any java issues?Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
November 9, 2021 at 10:42 am #70597MemberPPC
::@anticapitalista – yes, the default libreoffice (ate least in antiX 19) does not isntall the languagetool extension (that depends on Java), I could not test in my antiX 21 live in virtualbox….
P.
November 9, 2021 at 12:57 pm #70611Moderator
caprea
::Languagetool works here on antiX21
Libreoffice version is 1:7.0.4-4+deb11u1, languagetool 5.5.1
Besides java-common 0.72 I installed per synaptic libreoffice-java-common 1:7.0.4-4+deb11u1Edit: Same on antiX19, works without problems as long as the appropriate libreoffice-java-common from synaptic is installed.
- This reply was modified 1 year, 6 months ago by caprea.
Attachments:
November 9, 2021 at 3:36 pm #70623MemberModdIt
::Thanks caprea, PPC,anticapitalista,
We must have the newer version of LO, that is in list. Kids and students as well as tutors have allowed usage
Software and fonts included. I bend those rules a bit but we badly need Java for both LanguageTool and because
students will have to work with Base. I was unaware of that, Base needs a java/jre to work correctly.I had installed appropriate libreoffice-java-common in my first round with the latest LO from Package installer.
That was not installed with the package but it did not help.LO 1.7.2.2.1 is same in Debian Testing and unstable, once I can figure out how to easily get a full list of packages installed
by antiX packet installer I can compare with the debian listed packages. That is maybe like whacking molehills as the packages
also have dependancys and they too ad infinitum. nearly anyway, but will checkout7post install those which look to me java related.I could navigate to and see the java setup several times but not select it, all boxes greyed out. Might even be some weird permissions
problem, beyond my pay level if so;-).- This reply was modified 1 year, 6 months ago by ModdIt.
November 10, 2021 at 1:35 am #70661Moderator
caprea
::The libreoffice from backports is now available through package installer on antiX21.
I just installed it, it’s now version 7.2.2.2 and again languagetool extension installed and works fine after I installed the appropriate libreoffice-java-common from backports
sudo apt install -t bullseye-backports libreoffice-java-common -
AuthorPosts
- You must be logged in to reply to this topic.
