File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Calling a system command from java program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic

Calling a system command from java program

Mir Ricco

Joined: Jun 19, 2003
Posts: 15
I need to call system command or shell script with parameters from java.
Can someone help me how to do it
or post a link where can I learn about this topic ?
Michael Morris
Ranch Hand

Joined: Jan 30, 2002
Posts: 3451
Mir, please do not cross post topics. Choose a single forum per topic. I have already resonded to this subject here.

Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
I agree. Here's the link:
subject: Calling a system command from java program
It's not a secret anymore!