First off, I'd like to apologise if this has already been covered. It's difficult to filter through all the existing issues similar to this one.
So in Windows there is two (as far as I'm aware) ways to set environment variables. First one is through the Command Prompt and the second is through System Properties in the Control Panel.
The former would be more desirable for me however I have an issue where the variable only lasts and exists in that session. This gets considerably annoying when I have to re-set my Java path every time.
The latter is what I have to resort to, it takes time and once in a blue moon I'll forget where to locate the menu.
Is there something I have to do in the Command Prompt to get it set permanently? Possibly a flag or switch to append to the command?
sysdm.cpl.