Change to all java config