LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Start jar file from java without being in class path at compile time (http://www.linuxquestions.org/questions/linux-newbie-8/start-jar-file-from-java-without-being-in-class-path-at-compile-time-787007/)

nazzouri 02-04-2010 10:47 AM

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?


All times are GMT -5. The time now is 01:46 PM.