I did below:
subst A: "C\Desktop"
Now from java code:
String command= "java -jar A:\test.jar"
Process process = Runtime.getRuntime().exec(command);
The JVM seems to be hanged here and never executing this line. When i run through "java -jar C:\Desktop\test.jar".
It executes succefully.
Does Runtime.getRuntime doesn't resolve virtual hardrive? Thanks