Java Reflection to load classes -


i given external folder called "atm".

in folder, contains files ends .class.

how load it?

i've been using class.forname. not work.

i need load use java's reflection on it.

you have 2 options:

  1. make sure folder in class path when start program
  2. create java.net.urlclassloader load classes

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -