You are not logged in.
Pages: 1
Topic closed
I've installed the jre-openjdk 11.0.1.u13-2 and mariadb-jdbc 2.3.0-2 packages.
I commented out skip-networking and added the line bind-address = * to /etc/mysql/my.cnf according to JDBC and MySQL, but I'm not able to link the drivers to my JRE's external libraries directory.
$ ln -s /usr/share/java/mariadb-jdbc/mariadb-java-client.jar /usr/lib/jvm/default-runtime/jre/lib/ext
ln: failed to create symbolic link '/usr/lib/jvm/default-runtime/jre/lib/ext': No such file or directory
The directory /usr/lib/jvm/default-runtime/jre seems to be missing. Should I create it myself ?
Last edited by btwiusearch (2018-11-03 22:32:15)
Offline
you don't have the traditional JRE/JDK distinction anymore with java9+ all relevant binaries for the traditional development are part of the JDK now (and application developers are expected to utilize the module functionality to ship their applications with their own customized mini "JREs")
Offline
thank you V1del never knew about that. i ended up installing it from maven repo.
Offline
@V1del I am new here, So How exactly do I setup my JDBC connection?
Offline
By installing the it manually from external sources and/or with build systems like maven/gradle etc. or just drop the "jre" from the path.
If this is insufficient please open a new thread detailing your issue, this one is three years old and solved.
Closing.
Offline
Pages: 1
Topic closed