Using java Code in linux [duplicate]
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..");
精彩评论