Skip to content

Add local JAR to classpath

MRW Neundorf edited this page Jan 10, 2020 · 1 revision

formerly asked in https://github.com/naxmefy/node-jdbc/issues/9

Example

Import { Java } from '@naxmefy/jdbc';

Java.getInstance().addClasspath([
  'path/to/lib.jar'
]);

This only works if the JVM is not created yet, e.g. if you called a JDBC action before

Clone this wiki locally