setting up the Java environment variables