Start an executable JAR from my java application

Hello all,

Basically when I press a button in my application, I want to start an executable.jar from my application.

I have tried those 2 things:

Process p = Runtime.getRuntime().exec("...javaw.exe\" -jar ...executable.jar");

and

Process p = Runtime.getRuntime().exec("java -jar ...executable.jar");

Full path (removed for clarity) are given and corrects, it does start but is extremely slow ... like waiting for ressources (?)

When I exit the application, the executable.jar now works at normal speed.

If I start manually (clicking on the jar in windows) it also works fine.

Do you have an idea of what is the problem?

Thanks in advance

[754 byte] By [lmazuriera] at [2007-11-26 23:50:51]
# 1
I think it's due to java because you launch a JVM from inside a java program (JVM process).
java_2006a at 2007-7-11 15:28:51 > top of Java-index,Desktop,Deploying...