Add varenvs to Prg, read env from Prg settings.
Write varenvs for each installed prg to env.bat.
Add varenv JAVA_HOME to jdk8