you can do that with
Process p = Runtime.getRuntime().exec(command);
there are many overloaded exec methods. see the api docs here.
http://java.sun.com/j2se/1.3/docs/api/java/lang/Runtime.html
but before you do that read this article for problems with exec and how to avoid them
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
hth
partha