Set variable in correct files
Set Java Home
Update OS related scripts