diff --git a/plugins/devkit/resources/org/jetbrains/idea/devkit/DevKitBundle.properties b/plugins/devkit/resources/org/jetbrains/idea/devkit/DevKitBundle.properties index 8f3b8b3a815e..914c8e916afd 100644 --- a/plugins/devkit/resources/org/jetbrains/idea/devkit/DevKitBundle.properties +++ b/plugins/devkit/resources/org/jetbrains/idea/devkit/DevKitBundle.properties @@ -38,6 +38,7 @@ success.deployment.message.all=All Plugins Successfully Prepared For Deployment ##Idea Sdk sdk.title=IntelliJ Platform Plugin SDK +jdk.specification=Please configure JDK sandbox.specification=Please configure the sandbox sandbox.home=Sandbox Home sandbox.home.label=Sandbox Home: diff --git a/plugins/devkit/src/projectRoots/Sandbox.java b/plugins/devkit/src/projectRoots/Sandbox.java index c6cf1ac67dcc..b0dffd2c3048 100644 --- a/plugins/devkit/src/projectRoots/Sandbox.java +++ b/plugins/devkit/src/projectRoots/Sandbox.java @@ -70,9 +70,12 @@ public class Sandbox implements ValidatableSdkAdditionalData { @Override public void checkValid(SdkModel sdkModel) throws ConfigurationException { - if (StringUtil.isEmpty(mySandboxHome) || getJavaSdk() == null) { + if (StringUtil.isEmpty(mySandboxHome)) { throw new ConfigurationException(DevKitBundle.message("sandbox.specification")); } + if (getJavaSdk() == null) { + throw new ConfigurationException(DevKitBundle.message("jdk.specification")); + } } void readExternal(Element element) throws InvalidDataException {