Start jar file from java without being in class path at compile time
Hi all, I have a problem to start a jar file from within my java code. I know the class name (or the main class), but I don't have the jar at compile time. I receive it dynamically in the code. Now I don't want to start a process with "java -jar" in it because java has some problems with that and I don't think it is necessary. I think using the same jvm is the ideal way. Any help here?
|