Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] LanguageTool-5.8_1: languagetool fails to run after installation
@ 2024-01-05 14:55 algor512
  2024-01-05 15:03 ` classabbyamp
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: algor512 @ 2024-01-05 14:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1334 bytes --]

New issue by algor512 on void-packages repository

https://github.com/void-linux/void-packages/issues/48076

Description:
### Is this a new report?

Yes

### System Info

Void 6.6.9_1 x86_64 AuthenticAMD notuptodate F

### Package(s) Affected

LanguageTool-5.8_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

`/bin/languagetool` runs without any error after the installation. 

### Actual behaviour

```
$ /bin/languagetool
/bin/languagetool: line 67: /bin/java: No such file or directory
```

### Steps to reproduce

```
# xbps-install -S LanguageTool
[*] Updating repository `https://repo-fastly.voidlinux.org/current/x86_64-repodata' ...
Package `xbps' already installed.
[*] Updating repository `https://repo-fastly.voidlinux.org/current/x86_64-repodata' ...

Name           Action    Version           New version            Download size
openjdk-common install   -                 1_1                    1588B
openjdk11-jre  install   -                 11.0.22+6_1            46MB
openjdk11      install   -                 11.0.22+6_1            4219KB
LanguageTool   install   -                 5.8_1                  210MB
<...>
$ /bin/languagetool
/bin/languagetool: line 67: /bin/java: No such file or directory
```

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: LanguageTool-5.8_1: languagetool fails to run after installation
  2024-01-05 14:55 [ISSUE] LanguageTool-5.8_1: languagetool fails to run after installation algor512
@ 2024-01-05 15:03 ` classabbyamp
  2024-01-05 16:40 ` [ISSUE] [CLOSED] " algor512
  2024-01-05 16:40 ` algor512
  2 siblings, 0 replies; 4+ messages in thread
From: classabbyamp @ 2024-01-05 15:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/issues/48076#issuecomment-1878816177

Comment:
have you re-logged in since installing languagetool?

what's the output of `xbps-alternatives -lg java`? 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ISSUE] [CLOSED] LanguageTool-5.8_1: languagetool fails to run after installation
  2024-01-05 14:55 [ISSUE] LanguageTool-5.8_1: languagetool fails to run after installation algor512
  2024-01-05 15:03 ` classabbyamp
@ 2024-01-05 16:40 ` algor512
  2024-01-05 16:40 ` algor512
  2 siblings, 0 replies; 4+ messages in thread
From: algor512 @ 2024-01-05 16:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1337 bytes --]

Closed issue by algor512 on void-packages repository

https://github.com/void-linux/void-packages/issues/48076

Description:
### Is this a new report?

Yes

### System Info

Void 6.6.9_1 x86_64 AuthenticAMD notuptodate F

### Package(s) Affected

LanguageTool-5.8_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

`/bin/languagetool` runs without any error after the installation. 

### Actual behaviour

```
$ /bin/languagetool
/bin/languagetool: line 67: /bin/java: No such file or directory
```

### Steps to reproduce

```
# xbps-install -S LanguageTool
[*] Updating repository `https://repo-fastly.voidlinux.org/current/x86_64-repodata' ...
Package `xbps' already installed.
[*] Updating repository `https://repo-fastly.voidlinux.org/current/x86_64-repodata' ...

Name           Action    Version           New version            Download size
openjdk-common install   -                 1_1                    1588B
openjdk11-jre  install   -                 11.0.22+6_1            46MB
openjdk11      install   -                 11.0.22+6_1            4219KB
LanguageTool   install   -                 5.8_1                  210MB
<...>
$ /bin/languagetool
/bin/languagetool: line 67: /bin/java: No such file or directory
```

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: LanguageTool-5.8_1: languagetool fails to run after installation
  2024-01-05 14:55 [ISSUE] LanguageTool-5.8_1: languagetool fails to run after installation algor512
  2024-01-05 15:03 ` classabbyamp
  2024-01-05 16:40 ` [ISSUE] [CLOSED] " algor512
@ 2024-01-05 16:40 ` algor512
  2 siblings, 0 replies; 4+ messages in thread
From: algor512 @ 2024-01-05 16:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

New comment by algor512 on void-packages repository

https://github.com/void-linux/void-packages/issues/48076#issuecomment-1878959212

Comment:
I'm sorry, but I've resolved the issue.
I use fish shell, and it doesn't use `/etc/profile.d` to initialize environment variables. Hence, I have to manually set `JAVA_HOME` to point to `/usr/lib/jvm/default-jre`. After doing that, languagetool runs successfully. 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-05 16:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-05 14:55 [ISSUE] LanguageTool-5.8_1: languagetool fails to run after installation algor512
2024-01-05 15:03 ` classabbyamp
2024-01-05 16:40 ` [ISSUE] [CLOSED] " algor512
2024-01-05 16:40 ` algor512

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).