This program uses system environment variables. To configure this variables is recommended to edit ~/.bashrc file or ~/.profile and add the next commands at the end of file:
export CLIENT_ID="your_client_id"
export CLIENT_SECRET="your_client_secret"
export SLUG="your_instance_slug"
Close the terminal and open a new one.
cd /path/to/project
javac -cp .:./src/main/resources/okio-1.13.0.jar:./src/main/resources/okhttp-3.9.0.jar ./src/main/java/*.java ./src/test/TestCredential.java -d ./src/classes
java -cp .:./src/main/resources/okio-1.13.0.jar:./src/main/resources/okhttp-3.9.0.jar:./src/classes TestCredential