[-- Attachment #1: Type: text/plain, Size: 831 bytes --] New 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. ![image](https://user-images.githubusercontent.com/193530/148132901-04435810-a414-4e2d-a8e8-8b17117d4026.png) ### Steps to reproduce the behavior ``` sudo xbps-install -y dbeaver dbeaver ```
[-- 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?
[-- 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.
[-- 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.
[-- 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 ```
[-- 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 ```
[-- 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)
[-- 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.
[-- 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. ![image](https://user-images.githubusercontent.com/193530/148132901-04435810-a414-4e2d-a8e8-8b17117d4026.png) ### Steps to reproduce the behavior ``` sudo xbps-install -y dbeaver dbeaver ```