add java to run v4, change default command, update config file