how to execute MySqlDump Command from java..........

hi friends,Iam used mysqldump command in linux platform to take backup of the database,its work properly....the command am used is

mysqldump -u root -p threadpool > sampledatabase.sql

I need to execute the same command in java....?Anyone here to know how to do that....?Thanks in advance........

[317 byte] By [83Krisha] at [2007-11-27 7:58:44]
# 1
Runtime.exec()...
CeciNEstPasUnProgrammeura at 2007-7-12 19:40:40 > top of Java-index,Java Essentials,Java Programming...
# 2
Crosspost: http://forum.java.sun.com/thread.jspa?threadID=5185230&messageID=9721722#9721722 http://forum.java.sun.com/thread.jspa?threadID=5185199&messageID=9721587#9721587Do not mess the forum.
Arash.Shahkara at 2007-7-12 19:40:40 > top of Java-index,Java Essentials,Java Programming...