openjdk: set env variables for update-environment script