[arch-general] dbeaver and mariadb-jdbc: Creating the symlink.
Hi, I've installed dbeaver 6.0.1-1, plus mariadb-jdbc 2.4.1-1 from AUR. https://wiki.archlinux.org/index.php/JDBC_and_MySQL#Installing_JDBC says to then symlink mariadb-java-client.jar so it's picked up as part of the JVM's JRE, but /usr/lib/jvm/default-runtime/jre/lib/ext doesn't exist. https://bbs.archlinux.org/viewtopic.php?id=241666 looks like a similar problem and although it's marked solved, it isn't really as the AUR package was ditched in favour of Maven. What's the right Java solution to combine these two things? I don't mind running dbeaver with an environment variable or two so the JVM spots /usr/share/java/mariadb-jdbc/mariadb-java-client.jar. -- Cheers, Ralph.
On Sunday, 21 April 2019 22:43:17 +05 Ralph Corderoy wrote:
Hi,
I've installed dbeaver 6.0.1-1, plus mariadb-jdbc 2.4.1-1 from AUR. https://wiki.archlinux.org/index.php/JDBC_and_MySQL#Installing_JDBC says to then symlink mariadb-java-client.jar so it's picked up as part of the JVM's JRE, but /usr/lib/jvm/default-runtime/jre/lib/ext doesn't exist.
https://bbs.archlinux.org/viewtopic.php?id=241666 looks like a similar problem and although it's marked solved, it isn't really as the AUR package was ditched in favour of Maven.
What's the right Java solution to combine these two things? I don't mind running dbeaver with an environment variable or two so the JVM spots /usr/share/java/mariadb-jdbc/mariadb-java-client.jar.
DBeaver is able to download adapter on first connection creation. No need to symlink anything. -- With best regards, Stanislav N. aka pztrn. https://pztrn.name Matrix: @pztrn:pztrn.name Telegram: @pztrn
Hi Stanislav,
DBeaver is able to download adapter on first connection creation. No need to symlink anything.
Yes, it's offering to do that, but wouldn't that be for me as a user? Given the AUR exists, I'd prefer to have that installed to give the benefit for all users, and for all programs that would use mariadb-jdbc. DBeaver offers Database → Driver Manager → MariaDB and I can then get Information on the existing org.mariadb.jdbc:... library, but I haven't worked out how to Add File, or similar to have it use /usr/share/java/mariadb-jdbc/mariadb-java-client.jar instead. But that's a question more for the dbeaver chaps. It's the Arch package and the AUR package that I'm trying to get to play together, and then the wiki can be updated. -- Cheers, Ralph.
participants (2)
-
Ralph Corderoy
-
Stanislav N. aka pztrn