void-packages icon indicating copy to clipboard operation
void-packages copied to clipboard

failed to read path from javaldx

Open LinArcX opened this issue 7 years ago • 10 comments

Hi. i want to only install libreoffice-writer.(Because i don't need some other components). But it gives me errors, when i install the package: libreoffice-writer.

System

  • xuname:
    Void 4.19.57_1 x86_64 GenuineIntel notuptodate rFFFFFFF
  • package:
    affected package(s) including the version

Expected behavior

Run libreoffice-writer properly without any error.

Actual behavior

Can't run libreoffice-writer.

Steps to reproduce the behavior

Install libreoffice-writer package only and then run it from terminal:

╰ libreoffice 
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx

LinArcX avatar Jul 27 '19 12:07 LinArcX

Did you install any Java Runtime Environment like the error suggested?

Anachron avatar Jul 27 '19 15:07 Anachron

@Anachron No. I don't know which package should i install?

Edit: I Installed openjdk. Errors gone but libreoffice can't run.

LinArcX avatar Jul 27 '19 15:07 LinArcX

You probably want to tell us which error you are getting if you want us to help you.

Anachron avatar Jul 27 '19 16:07 Anachron

No error. It close immediately.

LinArcX avatar Jul 27 '19 17:07 LinArcX

Start it from the terminal? You‘re killing me.

Anachron avatar Jul 27 '19 18:07 Anachron

Yes.

LinArcX avatar Jul 27 '19 18:07 LinArcX

This is still a problem. We should install openjdk by default because libreoffice-writer won't start without it, and as I understand it libreoffice relies on java for many other functions as well. I manually installed openjdk and used 'xbps-alternatives -g java -s openjdk' and that seems to fix the issue. But then there is a new error "The application cannot be started. The user interface language cannot be determined".

obunden avatar Oct 13 '19 04:10 obunden

"The application cannot be started. The user interface language cannot be determined".

# xbps-install -S libreoffice-i18n-YOUR_LOCALE

sarether avatar Jun 18 '20 16:06 sarether

It doesn't work anymore with openjdk-8 nor openjdk-11.(Will throw a fatal error)

LinArcX avatar Sep 20 '20 07:09 LinArcX

Cannot reproduce. I removed all of libreoffice and installed just libreoffice-writer. Java (openjdk8 and openjdk11) were both installed as dependencies of other packages.

Then tried a fresh VM with XFCE4 installed from Live ISO, installed just libreoffice-writer and no JVM. lowriter starts and works. Installed openjdk (which is openjdk8) and lowriter still starts.

I'd like to close this because the issue, if it was there, for me is not reproducible.

pullmoll avatar Jan 06 '21 16:01 pullmoll