DBeaver from RPM should depend on `java-21-openjdk`
- Dominant language
- Java
- Stars
- 51.8k
- Forks
- 4.4k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 183
Description
**Is your feature request related to a problem? Please describe.**
Yes. It's related to #40025. ~~It's very likely that if it~~ If it used the JVM provided by the operating system, it ~~would~~ will use that JVM's `security/cacerts` file which is a symlink to `/etc/pki/ca-trust/extracted/java/cacerts` - a Java trust store that's maintained by the operating system.
**Describe the solution you'd like**
Stop bundling an entire JVM in the RPM package and add `java-21-openjdk` to the RPM's dependency list.
**Describe alternatives you've considered**
```
rm -rf /usr/share/dbeaver-ce/jre
ln -s /usr/lib/jvm/jre-21 /usr/share/dbeaver-ce/jre
```
**Additional context**
The alternative described above fixes #40025 and removes unnecessary bloat in the RPM package. I actually tested it and it's true.
Contributor guide
Assessment
This issue has not been assessed yet.