How to execute the batch(.bat) file in mysql prombt.That batch file contains java code.is it possible to execute a batch file that contains java code? i struggled long time. anyone answer me . is it possible or not?

This is my code i want to execute in mysql
cd\
cd RMI
set path=c:\jdk1.6.0_10\bin
java RmiClient ipaddress:port