Updating environment variables, setting java 8 as default