开发者

how to run a java/bin command using java?

开发者 https://www.devze.com 2022-12-27 17:28 出处:网络
Hi, 开发者_如何学PythonHow to run java/ jdk or jre /bin command using java program???Try Runtime.getRuntime().exec().

Hi, 开发者_如何学Python How to run java/ jdk or jre /bin command using java program???


Try Runtime.getRuntime().exec().

Some useful links:

  • http://www.rgagnon.com/javadetails/java-0014.html
  • http://java.sun.com/javase/6/docs/api/java/lang/Runtime.html


Have a look at javax.tools.JavaCompiler and possibly Runtime.exec(String command)

0

精彩评论

暂无评论...
验证码 换一张
取 消