Why an auto scheduled app from Java didn't start on Windows?
问题 I have a Java Swing app that is supposed to start a 2nd JVM, my code looks like this : public class App_A implements Runnable { ... public static void start2ndJVM() throws Exception { String separator=System.getProperty("file.separator"),classpath=System.getProperty("java.class.path"),path=System.getProperty("java.home")+separator+"bin"+separator+"java"; pb=new ProcessBuilder(path,"-cp",classpath,App_B.class.getName(),"Auto Exit !"); pb.directory(new File("Dir_Data")); File log=new File("Log