Hack to get DBeaver a JRE

I was happy to get DBeaver to build, following the directions at https://github.com/dbeaver/dbeaver/wiki/Build-from-sources:

git clone https://github.com/dbeaver/dbeaver
cd dbeaver/tools
./build.sh

But the new app was failing to run:

cd ../product/community/target/products/org.jkiss.dbeaver.core.product/macosx/cocoa/aarch64

open DBeaver.app

A dialog was popping up:

A short term hack I found: just copy “jre” from the installed version of DBeaver:

cd DBeaver.app/Contents/Eclipse
cp -r /Applications/DBeaver.app/Contents/Eclipse/jre .
rm -rf jre/Contents/_CodeSignature
cd ../../..

It works!

open DBeaver.app

There must be a non-hacky way to achieve the same thing, but this works for me for now.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *