usage of mysqldump command

Hi buddies i need to call the mysqldump command from my java code... Anyone know how to call that command by using java program... pls tell the solution... thanks in advance
[180 byte] By [83Krisha] at [2007-11-27 7:37:44]
# 1
you have to execute that command from java using java.lang.Process
Nistelrooya at 2007-7-12 19:18:22 > top of Java-index,Java Essentials,Java Programming...
# 2
Thanks for ur kind help yar...
83Krisha at 2007-7-12 19:18:22 > top of Java-index,Java Essentials,Java Programming...
# 3
hi yar.. Iam execute the mysqldump command using java.lang.process but it will throws IOException.....?whats the solution for that?but using the same process class iam executing the linux command 'gedit' it will execute correctly... can u give me the solution for this problem...?
83Krisha at 2007-7-12 19:18:22 > top of Java-index,Java Essentials,Java Programming...