How to Run MR in eclipse which is on Windows, When My hadoop installation is in VM

Hi,
Is there anyway I could run MR program from Eclipse on Windows when hadoop is installed on VM?