开发者

Using java Code in linux [duplicate]

This question already has answers here: Closed 11 years ago.

Possible Duplicate:

How to execute system commands (linux/bsd) using Java

Using jav开发者_如何学Goa code ,how to run rpm command in fedora.

I want to run :

" rpm -ivh progname.rpm " throw java code


Have you seen

Runtime.getRuntime().exec("command.."); 
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜