Updated os_jave_version with error handling
Updated os_jave_version with error handling

Signed-off-by: Josue Negron <91d5690d54c0e3f0824610e08ff1638231b9532a@vmware.com>

vmwaresamples/AirWatch-samples,vmwaresamples/AirWatch-samples,vmwaresamples/AirWatch-samples,vmwaresamples/AirWatch-samples