Rollback and use exec /usr/bin/java instead of /bin/sh