aboutsummaryrefslogtreecommitdiff
path: root/src/share/classes/sun/launcher/resources/launcher.properties
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/classes/sun/launcher/resources/launcher.properties')
-rw-r--r--src/share/classes/sun/launcher/resources/launcher.properties17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/share/classes/sun/launcher/resources/launcher.properties b/src/share/classes/sun/launcher/resources/launcher.properties
index 14ffdecfc..5114bee18 100644
--- a/src/share/classes/sun/launcher/resources/launcher.properties
+++ b/src/share/classes/sun/launcher/resources/launcher.properties
@@ -1,5 +1,5 @@
#
-# Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
+# Copyright 2007-2008 Sun Microsystems, Inc. All Rights Reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@@ -99,3 +99,18 @@ java.launcher.X.usage=\
\ -Xshare:auto use shared class data if possible (default)\n\
\ -Xshare:on require using shared class data, otherwise fail.\n\n\
The -X options are non-standard and subject to change without notice.\n
+
+java.launcher.cls.error1=\
+ Error: Could not find main class {0}
+java.launcher.cls.error2=\
+ Error: Main method is not {0} in class {1}, please define the main method as:\n\
+\ public static void main(String[] args)
+java.launcher.cls.error3=\
+ Error: Main method must return a value of type void in class {0}, please \n\
+ define the main method as:\n\
+\ public static void main(String[] args)
+java.launcher.cls.error4=\
+ Error: Main method not found in class {0}, please define the main method as:\n\
+\ public static void main(String[] args)
+
+