Fixed the Java script for Windows
Merge pull request #5 from rosemwahlin/master

Fixed the Java script for Windows