So, I won't go into detail into why I can't add it normally through an IDE, but I need to dynamically add a local jar to my classpath at runtime, how would I do this?
Asked
Active
Viewed 1,539 times
-3
-
6http://stackoverflow.com/questions/60764/how-should-i-load-jars-dynamically-at-runtime – AndyN Nov 12 '15 at 18:36
-
Checkout System.load and System.loadLibrary – DBug Nov 12 '15 at 18:39
1 Answers
0
Just use gradle, you can use local dependencies like this
compile files('lib/ojdbc6.jar')

Jonas Fagundes
- 1,519
- 1
- 11
- 18