Environment variables are not a system-wide thing but are stored per-process and inherited by child processes. So changing them in the System Settings will not have any immediate effect.
The guaranteed way for your changes to propagate is to restart your system. Otherwise you could try starting a process via Win+R.