use java directly instead of bin.ext