The following tutorial shows how to install DBeaver (https://dbeaver.io/).
The installation is performed as Eclipse plugin since there is no working standalone version for FreeBSD.
1. As root: Install java/eclipse, devel/maven and java/openjdk17.
2. As user: Download lates DBeaver sourcecode from https://github.com/dbeaver/dbeaver/releases -> "Source code (tar.gz)".
3. As user: Extract the source code:
4. As user: Set the right Java version:
5. As user: Make a complete build in the previously extracted DBeaver source directory:
6. As root: Copy the following to /usr/local/share/eclipse/dropins (NOTE: The paths are architecture dependend, please choose linux and your architecture. In this case I use amd64):
- product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86_64/dbeaver/plugins/org.osgi.service.event_1.4.1.202109301733.jar
- product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86_64/dbeaver/plugins/slf4j.api_2.0.7.jar
- product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86_64/dbeaver/plugins/org.jkiss.dbeaver.slf4j_2.0.90.202312161511.jar
7. As user: Start Eclipse, make sure eclipse is running with the correct JAVA version openjdk17. E.g.
8. As user: Install DBeaver plugin via "Help -> Install New Software" - In the field "Work with" enter "https://dbeaver.io/update/latest/", then select "DBeaver".
Result:
The installation is performed as Eclipse plugin since there is no working standalone version for FreeBSD.
1. As root: Install java/eclipse, devel/maven and java/openjdk17.
2. As user: Download lates DBeaver sourcecode from https://github.com/dbeaver/dbeaver/releases -> "Source code (tar.gz)".
3. As user: Extract the source code:
tar -xvpzf dbeaver-23.3.0.tar.gz
(NOTE: you may need to adjust the version number in this command).4. As user: Set the right Java version:
setenv JAVA_HOME /usr/local/openjdk17/
.5. As user: Make a complete build in the previously extracted DBeaver source directory:
mvn package -Pall-platforms
.6. As root: Copy the following to /usr/local/share/eclipse/dropins (NOTE: The paths are architecture dependend, please choose linux and your architecture. In this case I use amd64):
- product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86_64/dbeaver/plugins/org.osgi.service.event_1.4.1.202109301733.jar
- product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86_64/dbeaver/plugins/slf4j.api_2.0.7.jar
- product/community/target/products/org.jkiss.dbeaver.core.product/linux/gtk/x86_64/dbeaver/plugins/org.jkiss.dbeaver.slf4j_2.0.90.202312161511.jar
7. As user: Start Eclipse, make sure eclipse is running with the correct JAVA version openjdk17. E.g.
setenv JAVA_HOME /usr/local/openjdk17/ && eclipse
.8. As user: Install DBeaver plugin via "Help -> Install New Software" - In the field "Work with" enter "https://dbeaver.io/update/latest/", then select "DBeaver".
Result: