Fixed a bug on MHP
Fixed a bug with the update command order.
Updated the JAVA Home to be generic for all OSs.