FS#69934 - [dbeaver] Error at startup

Attached to Project: Community Packages
Opened by Dimitri Merejkowsky (dmerej) - Wednesday, 10 March 2021, 17:11 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 30 March 2021, 11:37 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Muflone (muflone)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: dbeaver fails to start after installation

Additional info: package version: 7.3.3-1

Steps to reproduce

* Launch dbeaver
* After the splash screen, you'll get a pop-up error message telling you to look at the logs

See attached file for the log file in question.

Note that the archive downloaded from https://dbeaver.io/files/dbeaver-ce-latest-linux.gtk.x86_64.tar.gz
works but it would be nice to not have to download a second copy of the JRE just for dbeaver ...

A quick research on the Internet advises trying using a different JDK runtime. I've tried to set JAVA_HOME to
both to `/usr/lib/jvm/java-7-openjdk` and `/usr/lib/jvm/java-11-openjkd` but to no avail.

This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 30 March 2021, 11:37 GMT
Reason for closing:  None
Comment by Dimitri Merejkowsky (dmerej) - Wednesday, 10 March 2021, 17:15 GMT
Attached log from `~/.eclipse/org.jkiss.dbeaver.product_7.3.3_1078795723_linux_gtk_x86_64/configuration/1615396404719.log`

Comment by Muflone (muflone) - Monday, 15 March 2021, 23:33 GMT
The attached log refers to a Java 8 environment.

Please be sure to set Java to at least version 11
Comment by Dimitri Merejkowsky (dmerej) - Tuesday, 16 March 2021, 14:41 GMT
OK my bad. Apparently setting JAVA_HOME manually does not work, you need to use the `archlinux-java` script as documented in the Wiki.

This bug can be closed I guess, although maybe we could patch the PKGBUILD to display a warning message during installation ?

Something like:

```
warning: this package requires java 11 or later.
Refer to the wiki for detailed instructions.
```

Just a thought, feel free to ignore.

Loading...