How to execute the batch(.bat) file in mysql prombt.That batch file contains java 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 RMI
set path=c:\jdk1.6.0_10\bin
java RmiClient ipaddress:port