* Re: dbeaver: version of the JVM is not suitable for this product
2022-01-04 22:34 [ISSUE] dbeaver: version of the JVM is not suitable for this product jchook
@ 2022-01-09 20:45 ` leahneukirchen
2022-01-09 20:46 ` leahneukirchen
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: leahneukirchen @ 2022-01-09 20:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 169 bytes --]
New comment by leahneukirchen on void-packages repository
https://github.com/void-linux/void-packages/issues/34857#issuecomment-1008398510
Comment:
Install openjdk11?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dbeaver: version of the JVM is not suitable for this product
2022-01-04 22:34 [ISSUE] dbeaver: version of the JVM is not suitable for this product jchook
2022-01-09 20:45 ` leahneukirchen
@ 2022-01-09 20:46 ` leahneukirchen
2022-01-09 23:22 ` jchook
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: leahneukirchen @ 2022-01-09 20:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 210 bytes --]
New comment by leahneukirchen on void-packages repository
https://github.com/void-linux/void-packages/issues/34857#issuecomment-1008398510
Comment:
Install openjdk11?
It has `depends="openjdk11"` already.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dbeaver: version of the JVM is not suitable for this product
2022-01-04 22:34 [ISSUE] dbeaver: version of the JVM is not suitable for this product jchook
2022-01-09 20:45 ` leahneukirchen
2022-01-09 20:46 ` leahneukirchen
@ 2022-01-09 23:22 ` jchook
2022-01-09 23:57 ` jchook
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jchook @ 2022-01-09 23:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 280 bytes --]
New comment by jchook on void-packages repository
https://github.com/void-linux/void-packages/issues/34857#issuecomment-1008445279
Comment:
It can't seem to find the JDK.
I had `openjdk8` installed via the `openjdk` meta package already, but uninstalling that did not help.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dbeaver: version of the JVM is not suitable for this product
2022-01-04 22:34 [ISSUE] dbeaver: version of the JVM is not suitable for this product jchook
` (2 preceding siblings ...)
2022-01-09 23:22 ` jchook
@ 2022-01-09 23:57 ` jchook
2022-01-09 23:58 ` jchook
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jchook @ 2022-01-09 23:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 302 bytes --]
New comment by jchook on void-packages repository
https://github.com/void-linux/void-packages/issues/34857#issuecomment-1008450003
Comment:
This fixes the issue:
Add the following to the *top* of `/usr/lib/dbeaver/dbeaver.ini`
```
--launcher.appendVmargs
-vm
/usr/lib/jvm/openjdk11/bin
```
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dbeaver: version of the JVM is not suitable for this product
2022-01-04 22:34 [ISSUE] dbeaver: version of the JVM is not suitable for this product jchook
` (3 preceding siblings ...)
2022-01-09 23:57 ` jchook
@ 2022-01-09 23:58 ` jchook
2022-01-15 5:34 ` hiljusti
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jchook @ 2022-01-09 23:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 344 bytes --]
New comment by jchook on void-packages repository
https://github.com/void-linux/void-packages/issues/34857#issuecomment-1008450003
Comment:
[This](https://superuser.com/a/1603887/177388) fixes the issue:
Add the following to the *top* of `/usr/lib/dbeaver/dbeaver.ini`
```
--launcher.appendVmargs
-vm
/usr/lib/jvm/openjdk11/bin
```
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dbeaver: version of the JVM is not suitable for this product
2022-01-04 22:34 [ISSUE] dbeaver: version of the JVM is not suitable for this product jchook
` (4 preceding siblings ...)
2022-01-09 23:58 ` jchook
@ 2022-01-15 5:34 ` hiljusti
2022-04-12 5:44 ` classabbyamp
2022-04-12 17:41 ` [ISSUE] [CLOSED] " leahneukirchen
7 siblings, 0 replies; 9+ messages in thread
From: hiljusti @ 2022-01-15 5:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 813 bytes --]
New comment by hiljusti on void-packages repository
https://github.com/void-linux/void-packages/issues/34857#issuecomment-1013617010
Comment:
Took me a while to find some steps to reproduce it, but tl;dr this would do it:
```
sudo xbps-install dbeaver
sudo xbps-install openjdk8
sudo xbps-alternatives --set openjdk8
dbeaver # fails with the error message
```
Maybe there are other ways to get to this state.
A quick fix is to do:
```
sudo xbps-alternatives --set openjdk11
```
But... I think there are reasons someone might want JDK 8 as a default, and still be able to use this app I guess. It's still an LTS version of Java, and some software still requires it for one reason or another. (Usually to run java bytecode compiled with some version <= JDK 7 that isn't supported by JDK 11)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: dbeaver: version of the JVM is not suitable for this product
2022-01-04 22:34 [ISSUE] dbeaver: version of the JVM is not suitable for this product jchook
` (5 preceding siblings ...)
2022-01-15 5:34 ` hiljusti
@ 2022-04-12 5:44 ` classabbyamp
2022-04-12 17:41 ` [ISSUE] [CLOSED] " leahneukirchen
7 siblings, 0 replies; 9+ messages in thread
From: classabbyamp @ 2022-04-12 5:44 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 261 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/issues/34857#issuecomment-1096099007
Comment:
please test the fix I've implemented in #36653, if possible. It worked for me, hopefully it works for y'all too.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [ISSUE] [CLOSED] dbeaver: version of the JVM is not suitable for this product
2022-01-04 22:34 [ISSUE] dbeaver: version of the JVM is not suitable for this product jchook
` (6 preceding siblings ...)
2022-04-12 5:44 ` classabbyamp
@ 2022-04-12 17:41 ` leahneukirchen
7 siblings, 0 replies; 9+ messages in thread
From: leahneukirchen @ 2022-04-12 17:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 834 bytes --]
Closed issue by jchook on void-packages repository
https://github.com/void-linux/void-packages/issues/34857
Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System
* xuname:
Void 5.15.8_1 x86_64 GenuineIntel notuptodate rrFFF
* package:
dbeaver-21.3.2_1
### Expected behavior
Able to launch after installing
### Actual behavior
Getting this error:
> Version 1.8.0_272 of the JVM is not suitable for this product. Version 11 or greater is required.

### Steps to reproduce the behavior
```
sudo xbps-install -y dbeaver
dbeaver
```
^ permalink raw reply [flat|nested] 9+ messages in thread