reworded message

This commit is contained in:
Dmitry Jemerov
2014-12-03 18:10:43 +01:00
parent f755fc3e12
commit 4219f0803f
2 changed files with 2 additions and 2 deletions
@@ -136,7 +136,7 @@ public class JavaParametersUtil {
}
final boolean isJdk = JavaSdk.checkForJdk(new File(jreHome));
if (isJdk) {
throw new CantRunException("Jre expected but jdk found");
throw new CantRunException("Alternative JRE path needs to point to a JRE, not to a complete JDK installation");
}
final Sdk jdk = JavaSdk.getInstance().createJdk("", jreHome);
if (jdk == null) throw CantRunException.noJdkConfigured();
@@ -207,7 +207,7 @@ failed.to.generate.wrapper.error.message=Failed to generate temporary html wrapp
application.configuration.use.classpath.and.jdk.of.module.label=Use classpath of m&odule:
application.configuration.main.class.label=Main &class:
jre.path.is.not.valid.jre.home.error.mesage=''{0}'' is not valid JRE home
jre.path.is.not.valid.jre.home.error.mesage=''{0}'' is not a valid JRE home
main.method.not.found.in.class.error.message=Main method not found in class {0}
no.user.process.input.error.message=No process input
fix.run.configuration.problem.button=Fix