some fix for run java