using uname -i to detect java home path