예제 #1
0
 @Override
 @Nullable
 public String getVMExecutablePath(@NotNull Sdk sdk) {
   Sdk internalJavaSdk = getInternalJavaSdk(sdk);
   return internalJavaSdk == null
       ? null
       : JavaSdk.getInstance().getVMExecutablePath(internalJavaSdk);
 }
예제 #2
0
 @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;
 }