0

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

Using java code ,how to run rpm command in fedora.

I want to run :

" rpm -ivh progname.rpm " throw java code

Community
  • 1
  • 1

1 Answers1

1

Have you seen

Runtime.getRuntime().exec("command.."); 
jmj
  • 237,923
  • 42
  • 401
  • 438