Java application works fine in IDE but not in windows

Printable View