Environment variables don’t work

Posted on

Problem :

I can’t get any environment variables to work besides Java. Here’s a picture to show what I mean:

enter image description here

Can anyone help out?

Solution :

Environment variables don’t work like that.

To substitute the value of an environment variable, use %VariableName%.
Thus, you can write `%CACHE%.

java is working because java.exe is already in the system %PATH%.

Leave a Reply

Your email address will not be published.