I've never had to set an environment variable in the windows registry. I'm talking about simply adding a directory to the Path or setting JAVA_HOME. Windows GUI needs tons of work but it's at least 20 years ahead of linux. It gets one year more ahead of linux every year.