Using the command provided in the archlinux issue tracker, seems to fix the issue (update java openjdk version >= 11)
archlinux-java set java-11-openjdk
Not sure if this helps out on some other user.
It seems I am not allowed to attach links, so I will try to provide a pseudo links, please remove the ~:
https:~//bugs.~archlinux.~org/task/69133
https:~//github.~com/dbeaver/dbeaver/issues/10837
but could you do me a favour and split that into a question and an actual answer (just cut and paste and respond to yourself) and then click the 3 dots below the answer to mark a solution like this below the answer that helped you most:
so that the next person that has the exact same problem you just had will benefit from your post as well as your question will now be in the “solved” status.
If you do that I’ll convert the pseudo-links to real links.
Thanks for the post, it helped me solve my issue so I will try to clarify it a bit so that it might help others too.
Issue: After fresh installation of ‘dbeaver’, opening from gui gives an error:
version 1.8.0_xxx of the jvm is not suitable for this product
It says that java version should be >= 11
Even after installing latest version of java, the error remains, when you use the following command to check java version:
java -version
you see the version is listed as something like:
version 1.8.0_292
Solution:
Install latest jdk if not already installed (it might work with the default version that comes with Manjaro too).
Check the directory /usr/lib/jvm to list out the versions
Assuming you have java-17-jdk installed
use the command like:
sudo archlinux-java set java-17-jdk
You should now be able to open dbeaver. Hope this helps.