Changing system environment variable for Java apps