Use ENV variables instead of hardcoding Java ver