1 /*
2 * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
55 #define CLS_ERROR3 "Error: No main method found in specified class.\n" GEN_ERROR
56 #define CLS_ERROR4 "Error: Main method not public\n" GEN_ERROR
57 #define CLS_ERROR5 "Error: main-class: attribute exceeds system limits of %d bytes\n" GEN_ERROR
58
59 #define CFG_WARN1 "Warning: %s VM not supported; %s VM will be used"
60 #define CFG_WARN2 "Warning: No leading - on line %d of `%s'"
61 #define CFG_WARN3 "Warning: Missing VM type on line %d of `%s'"
62 #define CFG_WARN4 "Warning: Missing server class VM on line %d of `%s'"
63 #define CFG_WARN5 "Warning: Unknown VM type on line %d of `%s'"
64
65 #define CFG_ERROR1 "Error: Corrupt jvm.cfg file; cycle in alias list."
66 #define CFG_ERROR2 "Error: Unable to resolve VM alias %s"
67 #define CFG_ERROR3 "Error: %s VM not supported"
68 #define CFG_ERROR4 "Error: Unable to locate JRE meeting specification \"%s\""
69 #define CFG_ERROR5 "Error: Could not determine application home."
70 #define CFG_ERROR6 "Error: could not open `%s'"
71 #define CFG_ERROR7 "Error: no known VMs. (check for corrupt jvm.cfg file)"
72 #define CFG_ERROR8 "Error: missing `%s' JVM at `%s'.\nPlease install or use the JRE or JDK that contains these missing components."
73 #define CFG_ERROR9 "Error: could not determine JVM type."
74
75
76 #define SPC_ERROR1 "Error: Syntax error in version specification \"%s\""
77
78 #define JRE_ERROR1 "Error: Could not find Java SE Runtime Environment."
79 #define JRE_ERROR2 "Error: This Java instance does not support a %d-bit JVM.\nPlease install the desired version."
80 #define JRE_ERROR3 "Error: Improper value at line %d."
81 #define JRE_ERROR4 "Error: trying to exec %s.\nCheck if file exists and permissions are set correctly."
82 #define JRE_ERROR5 "Error: Failed to start a %d-bit JVM process from a %d-bit JVM."
83 #define JRE_ERROR6 "Error: Verify all necessary Java SE components have been installed.\n(Solaris SPARC 64-bit components must be installed after 32-bit components.)"
84 #define JRE_ERROR7 "Error: Either 64-bit processes are not supported by this platform\nor the 64-bit components have not been installed."
85 #define JRE_ERROR8 "Error: could not find "
86 #define JRE_ERROR9 "Error: Unable to resolve %s"
87 #define JRE_ERROR10 "Error: Unable to resolve current executable"
88 #define JRE_ERROR11 "Error: Path length exceeds maximum length (PATH_MAX)"
89 #define JRE_ERROR12 "Error: Exec of %s failed"
90 #define JRE_ERROR13 "Error: String processing operation failed"
91
92 #define DLL_ERROR1 "Error: dl failure on line %d"
93 #define DLL_ERROR2 "Error: failed %s, because %s"
94 #define DLL_ERROR3 "Error: could not find executable %s"
95 #define DLL_ERROR4 "Error: loading: %s"
96
97 #define REG_ERROR1 "Error: opening registry key '%s'"
98 #define REG_ERROR2 "Error: Failed reading value of registry key:\n\t%s\\CurrentVersion"
99 #define REG_ERROR3 "Error: Registry key '%s'\\CurrentVersion'\nhas value '%s', but '%s' is required."
100 #define REG_ERROR4 "Failed reading value of registry key:\n\t%s\\%s\\JavaHome"
101
102 #define SYS_ERROR1 "Error: CreateProcess(%s, ...) failed:"
103 #define SYS_ERROR2 "Error: WaitForSingleObject() failed."
104
105
106
107 #endif /* _EMESSAGES_H */
|
1 /*
2 * Copyright (c) 2005, 2014, Oracle and/or its affiliates. All rights reserved.
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * This code is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License version 2 only, as
7 * published by the Free Software Foundation. Oracle designates this
8 * particular file as subject to the "Classpath" exception as provided
9 * by Oracle in the LICENSE file that accompanied this code.
10 *
11 * This code is distributed in the hope that it will be useful, but WITHOUT
12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * version 2 for more details (a copy is included in the LICENSE file that
15 * accompanied this code).
16 *
17 * You should have received a copy of the GNU General Public License version
18 * 2 along with this work; if not, write to the Free Software Foundation,
19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20 *
21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22 * or visit www.oracle.com if you need additional information or have any
55 #define CLS_ERROR3 "Error: No main method found in specified class.\n" GEN_ERROR
56 #define CLS_ERROR4 "Error: Main method not public\n" GEN_ERROR
57 #define CLS_ERROR5 "Error: main-class: attribute exceeds system limits of %d bytes\n" GEN_ERROR
58
59 #define CFG_WARN1 "Warning: %s VM not supported; %s VM will be used"
60 #define CFG_WARN2 "Warning: No leading - on line %d of `%s'"
61 #define CFG_WARN3 "Warning: Missing VM type on line %d of `%s'"
62 #define CFG_WARN4 "Warning: Missing server class VM on line %d of `%s'"
63 #define CFG_WARN5 "Warning: Unknown VM type on line %d of `%s'"
64
65 #define CFG_ERROR1 "Error: Corrupt jvm.cfg file; cycle in alias list."
66 #define CFG_ERROR2 "Error: Unable to resolve VM alias %s"
67 #define CFG_ERROR3 "Error: %s VM not supported"
68 #define CFG_ERROR4 "Error: Unable to locate JRE meeting specification \"%s\""
69 #define CFG_ERROR5 "Error: Could not determine application home."
70 #define CFG_ERROR6 "Error: could not open `%s'"
71 #define CFG_ERROR7 "Error: no known VMs. (check for corrupt jvm.cfg file)"
72 #define CFG_ERROR8 "Error: missing `%s' JVM at `%s'.\nPlease install or use the JRE or JDK that contains these missing components."
73 #define CFG_ERROR9 "Error: could not determine JVM type."
74
75 #define JRE_ERROR1 "Error: Could not find Java SE Runtime Environment."
76 #define JRE_ERROR2 "Error: This Java instance does not support a %d-bit JVM.\nPlease install the desired version."
77 #define JRE_ERROR3 "Error: Improper value at line %d."
78 #define JRE_ERROR4 "Error: trying to exec %s.\nCheck if file exists and permissions are set correctly."
79 #define JRE_ERROR5 "Error: Failed to start a %d-bit JVM process from a %d-bit JVM."
80 #define JRE_ERROR6 "Error: Verify all necessary Java SE components have been installed.\n(Solaris SPARC 64-bit components must be installed after 32-bit components.)"
81 #define JRE_ERROR7 "Error: Either 64-bit processes are not supported by this platform\nor the 64-bit components have not been installed."
82 #define JRE_ERROR8 "Error: could not find "
83 #define JRE_ERROR9 "Error: Unable to resolve %s"
84 #define JRE_ERROR10 "Error: Unable to resolve current executable"
85 #define JRE_ERROR11 "Error: Path length exceeds maximum length (PATH_MAX)"
86 #define JRE_ERROR12 "Error: Exec of %s failed"
87 #define JRE_ERROR13 "Error: String processing operation failed"
88
89 #define SPC_ERROR1 "Error: Specifying an alternate JDK/JRE version is no longer supported.\n The use of the flag '-version:' is no longer valid.\n Please download and execute the appropriate version."
90 #define SPC_ERROR2 "Error: Specifying an alternate JDK/JRE is no longer supported.\n The related flags -jre-restrict-search | -jre-no-restrict-search are also no longer valid."
91
92 #define DLL_ERROR1 "Error: dl failure on line %d"
93 #define DLL_ERROR2 "Error: failed %s, because %s"
94 #define DLL_ERROR3 "Error: could not find executable %s"
95 #define DLL_ERROR4 "Error: loading: %s"
96
97 #define REG_ERROR1 "Error: opening registry key '%s'"
98 #define REG_ERROR2 "Error: Failed reading value of registry key:\n\t%s\\CurrentVersion"
99 #define REG_ERROR3 "Error: Registry key '%s'\\CurrentVersion'\nhas value '%s', but '%s' is required."
100 #define REG_ERROR4 "Failed reading value of registry key:\n\t%s\\%s\\JavaHome"
101
102 #define SYS_ERROR1 "Error: CreateProcess(%s, ...) failed:"
103 #define SYS_ERROR2 "Error: WaitForSingleObject() failed."
104
105
106
107 #endif /* _EMESSAGES_H */
|