开发者

Using java Code in linux [duplicate]

开发者 https://www.devze.com 2023-03-23 15:19 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: How to execute system commands (linux/bsd) using Java
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

精彩评论

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