0N/A/*
2581N/A * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.
0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A *
0N/A * This code is free software; you can redistribute it and/or modify it
0N/A * under the terms of the GNU General Public License version 2 only, as
2362N/A * published by the Free Software Foundation. Oracle designates this
0N/A * particular file as subject to the "Classpath" exception as provided
2362N/A * by Oracle in the LICENSE file that accompanied this code.
0N/A *
0N/A * This code is distributed in the hope that it will be useful, but WITHOUT
0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A * version 2 for more details (a copy is included in the LICENSE file that
0N/A * accompanied this code).
0N/A *
0N/A * You should have received a copy of the GNU General Public License version
0N/A * 2 along with this work; if not, write to the Free Software Foundation,
0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A *
2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A * or visit www.oracle.com if you need additional information or have any
2362N/A * questions.
0N/A */
0N/A
0N/A/*
0N/A * This file primarily consists of all the error and warning messages, that
517N/A * are used in JLI_ReportErrorMessage. All message must be defined here, in
517N/A * order to help with localizing the messages.
0N/A */
0N/A
0N/A#ifndef _EMESSAGES_H
0N/A#define _EMESSAGES_H
0N/A
0N/A#define GEN_ERROR "Error: A fatal exception has occurred. Program will exit."
0N/A#define JNI_ERROR "Error: A JNI error has occurred, please check your installation and try again"
0N/A#define JNI_ERROR1 "Error: can't find JNI interfaces in: %s"
0N/A
0N/A#define ARG_WARN "Warning: %s option is no longer supported."
0N/A
0N/A#define ARG_ERROR1 "Error: %s requires class path specification"
0N/A#define ARG_ERROR2 "Error: %s requires jar file specification"
0N/A#define ARG_ERROR3 "Error: The -J option should not be followed by a space."
0N/A
0N/A#define JVM_ERROR1 "Error: Could not create the Java Virtual Machine.\n" GEN_ERROR
0N/A#define JVM_ERROR2 "Error: Could not detach main thread.\n" JNI_ERROR
2581N/A#define JVM_ERROR3 "Error: SPARC V8 processor detected; Required V9 processors or better.\nUse JDK5 client compiler for V8 processors.\n" JVM_ERROR1
0N/A
0N/A#define JAR_ERROR1 "Error: Failed to load Main-Class manifest attribute from\n%s\n%s"
0N/A#define JAR_ERROR2 "Error: Unable to access jarfile %s"
0N/A#define JAR_ERROR3 "Error: Invalid or corrupt jarfile %s"
0N/A
176N/A#define CLS_ERROR1 "Error: Could not find the main class %s.\n" JNI_ERROR
0N/A#define CLS_ERROR2 "Error: Failed to load Main Class: %s\n%s"
0N/A#define CLS_ERROR3 "Error: No main method found in specified class.\n" GEN_ERROR
0N/A#define CLS_ERROR4 "Error: Main method not public\n" GEN_ERROR
1113N/A#define CLS_ERROR5 "Error: main-class: attribute exceeds system limits of %d bytes\n" GEN_ERROR
0N/A
0N/A#define CFG_WARN1 "Warning: %s VM not supported; %s VM will be used"
0N/A#define CFG_WARN2 "Warning: No leading - on line %d of `%s'"
0N/A#define CFG_WARN3 "Warning: Missing VM type on line %d of `%s'"
0N/A#define CFG_WARN4 "Warning: Missing server class VM on line %d of `%s'"
0N/A#define CFG_WARN5 "Warning: Unknown VM type on line %d of `%s'"
0N/A
0N/A#define CFG_ERROR1 "Error: Corrupt jvm.cfg file; cycle in alias list."
0N/A#define CFG_ERROR2 "Error: Unable to resolve VM alias %s"
0N/A#define CFG_ERROR3 "Error: %s VM not supported"
0N/A#define CFG_ERROR4 "Error: Unable to locate JRE meeting specification \"%s\""
0N/A#define CFG_ERROR5 "Error: Could not determine application home."
0N/A#define CFG_ERROR6 "Error: could not open `%s'"
0N/A#define CFG_ERROR7 "Error: no known VMs. (check for corrupt jvm.cfg file)"
2581N/A#define CFG_ERROR8 "Error: missing `%s' JVM at `%s'.\nPlease install or use the JRE or JDK that contains these missing components."
2581N/A#define CFG_ERROR9 "Error: could not determine JVM type."
0N/A
0N/A
0N/A#define SPC_ERROR1 "Error: Syntax error in version specification \"%s\""
0N/A
0N/A#define JRE_ERROR1 "Error: Could not find Java SE Runtime Environment."
0N/A#define JRE_ERROR2 "Error: This Java instance does not support a %d-bit JVM.\nPlease install the desired version."
0N/A#define JRE_ERROR3 "Error: Improper value at line %d."
0N/A#define JRE_ERROR4 "Error: trying to exec %s.\nCheck if file exists and permissions are set correctly."
0N/A#define JRE_ERROR5 "Error: Failed to start a %d-bit JVM process from a %d-bit JVM."
0N/A#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.)"
0N/A#define JRE_ERROR7 "Error: Either 64-bit processes are not supported by this platform\nor the 64-bit components have not been installed."
0N/A#define JRE_ERROR8 "Error: could not find "
0N/A#define JRE_ERROR9 "Error: Unable to resolve %s"
0N/A#define JRE_ERROR10 "Error: Unable to resolve current executable"
0N/A#define JRE_ERROR11 "Error: Path length exceeds maximum length (PATH_MAX)"
0N/A#define JRE_ERROR12 "Error: Exec of %s failed"
4697N/A#define JRE_ERROR13 "Error: String processing operation failed"
0N/A
0N/A#define DLL_ERROR1 "Error: dl failure on line %d"
0N/A#define DLL_ERROR2 "Error: failed %s, because %s"
0N/A#define DLL_ERROR3 "Error: could not find executable %s"
0N/A#define DLL_ERROR4 "Error: loading: %s"
0N/A
0N/A#define REG_ERROR1 "Error: opening registry key '%s'"
0N/A#define REG_ERROR2 "Error: Failed reading value of registry key:\n\t%s\\CurrentVersion"
0N/A#define REG_ERROR3 "Error: Registry key '%s'\\CurrentVersion'\nhas value '%s', but '%s' is required."
0N/A#define REG_ERROR4 "Failed reading value of registry key:\n\t%s\\%s\\JavaHome"
0N/A
0N/A#define SYS_ERROR1 "Error: CreateProcess(%s, ...) failed:"
0N/A#define SYS_ERROR2 "Error: WaitForSingleObject() failed."
0N/A
0N/A
0N/A
0N/A#endif /* _EMESSAGES_H */