fixed a bug in executeJAR