Adding jar to classpath at run time


/ Published in: Groovy
Save to your folder(s)



Copy this code and paste it in your HTML
  1. this.getClass().classLoader.rootLoader.addURL(new File("file.jar").toURL())

Report this snippet


Comments


You need to login to view comments.