jdk/src/java.base/share/classes/sun/launcher/resources/launcher.properties
changeset 43809 c3669a70a7ab
parent 43496 fbafb9f36e96
child 44359 c6761862ca0b
child 44339 fb097b1398d9
--- a/jdk/src/java.base/share/classes/sun/launcher/resources/launcher.properties	Wed Feb 15 16:18:22 2017 -0800
+++ b/jdk/src/java.base/share/classes/sun/launcher/resources/launcher.properties	Wed Feb 15 17:00:22 2017 -0800
@@ -1,5 +1,5 @@
 #
-# Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2007, 2017, Oracle and/or its affiliates. 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
@@ -175,7 +175,8 @@
 \                      override default icon displayed in dock\n\n
 
 java.launcher.cls.error1=\
-    Error: Could not find or load main class {0}
+    Error: Could not find or load main class {0}\n\
+    Caused by: {1}: {2}
 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)