hide run type if no java