Make instance of class in java at runtime
- by Milan
In my program I generate classes dynamically but when I try:
Class service = Class.forName("com.MyClass");
I recieve java.lang.ClassNotFoundException
If I run one more time the program (in Eclipse), then it is working.
Does anybody see the problem