@Override
 @Nullable
 public String getVMExecutablePath(@NotNull Sdk sdk) {
   Sdk internalJavaSdk = getInternalJavaSdk(sdk);
   return internalJavaSdk == null
       ? null
       : JavaSdk.getInstance().getVMExecutablePath(internalJavaSdk);
 }
 @Override
 @Nullable
 public String getToolsPath(@NotNull Sdk sdk) {
   Sdk jdk = getInternalJavaSdk(sdk);
   if (jdk != null && jdk.getVersionString() != null) {
     return JavaSdk.getInstance().getToolsPath(jdk);
   }
   return null;
 }