fixed problem with jar files (executable but cannot be run)