automation for JDK Path Panel and fix for ShortCutPanel automation