install java x64 conditionally based on the architecture of the system