Methods for altering and querying the class path.
import { classpath } from 'java-bridge';// Append a jar to the class pathclasspath.append('/path/to/jar.jar');assert.equal(classpath.get().length, 1);assert.equal(classpath.get()[0], '/path/to/jar.jar'); Copy
import { classpath } from 'java-bridge';// Append a jar to the class pathclasspath.append('/path/to/jar.jar');assert.equal(classpath.get().length, 1);assert.equal(classpath.get()[0], '/path/to/jar.jar');
Generated using TypeDoc
Methods for altering and querying the class path.
Example