提交 9965368c 编写于 作者: K kohsuke

error message improvement after seeing...

error message improvement after seeing http://www.nabble.com/Native-maven-support-requires-Java-1.5-or-later-td20929449.html

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13497 71c3de6d-444a-0410-be80-ed276b4c234a
上级 f8fdcaac
......@@ -115,6 +115,7 @@ public class Main {
try {
if(Float.parseFloat(v)<49.0) {
System.err.println("Native maven support requires Java 1.5 or later, but this Maven is using "+System.getProperty("java.home"));
System.err.println("Please use the freestyle project.");
System.exit(1);
}
} catch (NumberFormatException e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册