I created FileTest.java and RuntimeTest.java in the same package named test. Then, in RuntimeTest.java , I used Runtime.getRuntime().exec("java test.FileTest") to run FileTest.java, but it seems that the FileTest.java didn't run. Anyone knows why? Thanks!
Asked
Active
Viewed 32 times