Sasika, would you like to trick us posting code which has no relation to you real problem?
with you posted code we have next:
rt.exec("C:/Programme Files/MySQL/MySQL Server 5.0/bin/mysqldump -u uname -ppassword databaseName>C:/backup.sql");
1.
http://java.sun.com/javase/6/docs/api/java/lang/Runtime.html#exec(java.lang.String) refers to
http://java.sun.com/javase/6/docs/api/java/lang/Runtime.html#exec(java.lang.String,%20java.lang.String[],%20java.io.File)
2. and consequentally to
http://java.sun.com/javase/6/docs/api/java/lang/Runtime.html#exec(java.lang.String[],%20java.lang.String[],%20java.io.File)
3. the command line you have passed as factual argument of exec() method is stripped into
String[] with
http://java.sun.com/javase/6/docs/api/java/util/StringTokenizer.html
here is example from javadoc
The following is one example of the use of the tokenizer. The code:
prints the following output:
So, as I described above, you are executing "C:/Programme" which will be turned by OS "C:/programme.exe" (or .com or .bat).
To evaluate executable "\"C:/Programme Files/MySQL/MySQL Server 5.0/bin/mysqldump\""
you should enclose it's path with quotes, it may help, but I'm not sure.
Or, better, use method:
http://java.sun.com/javase/6/docs/api/java/lang/Runtime.html#exec(java.lang.String[],%20java.lang.String[],%20java.io.File)