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

RSS Icon Subscribe to comments

You need to login to post a comment.