run java reconfigure first