(50分)请进,怎样触发另一个application program? the simple way:myapp.main(new String[]("argument1","argument2")); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 楼上的,SAUCER的意思好像是直接调用MYAPP的MAIN方法 嘿嘿,一般的JAVA程序都是从调用主类的main函数开始的,我的做法只是直接调用它而已,你可以改动其参数,甚至设其为null:myapp.main(null);当然你可能需要import跟myapp有关的package 谢谢楼上:当为什么我用Runtime.getRuntime().exec("java myapp");就不可以呢? Runtime.getRuntime().exec("java myapp"); starts another process, in this case, it starts another JVM, do they share the console? I have no idea 关于jar命令的提问 HashSet 内容添加到表格中 请教比较灵活的从xml文件生成bean的方法?? Exception的问题 一段有错的代码,来源于书上的 请问怎么从数据库中读取图片,并用JLabel来显示呢?? applet找不到class文件? java虚拟机是否就是jre。 如何在tomcat1.0.1中配置smartupload才能使之正确高效率的运行? 在oracle8.17怎样insert BLOG数据啊? 一个有点弱的问题:jdbc中一个Connection只能有一个Statement?一个ResultSet还是说: 测试!都来看看,都有分送!
myapp.main(null);当然你可能需要import跟myapp有关的package
当为什么我用Runtime.getRuntime().exec("java myapp");
就不可以呢?
starts another process, in this case, it starts another JVM, do they share the console? I have no idea