Remove old variables
Make sure to call prg.GetName(), not .name directly.
Add dir, to overwrite name if needed, as for jdk src.
Add jdk8src.