< prev index next >

modules/jdk.packager/src/main/native/library/common/Messages.cpp

Print this page

        

*** 35,51 **** --- 35,56 ---- #include "Platform.h" #include "Lock.h" #include "FilePath.h" #include "Helpers.h" #include "Macros.h" + #include "JavaVirtualMachine.h" Messages::Messages(void) { FMessages.SetReadOnly(false); FMessages.SetValue(LIBRARY_NOT_FOUND, _T("Failed to find library.")); FMessages.SetValue(FAILED_CREATING_JVM, _T("Failed to create JVM")); + #ifndef USE_JLI_LAUNCH FMessages.SetValue(FAILED_LOCATING_JVM_ENTRY_POINT, _T("Failed to locate JNI_CreateJavaVM")); + #else + FMessages.SetValue(FAILED_LOCATING_JVM_ENTRY_POINT, _T("Failed to locate JLI_Launch")); + #endif FMessages.SetValue(NO_MAIN_CLASS_SPECIFIED, _T("No main class specified")); FMessages.SetValue(METHOD_NOT_FOUND, _T("No method %s in class %s.")); FMessages.SetValue(CLASS_NOT_FOUND, _T("Class %s not found.")); FMessages.SetValue(ERROR_INVOKING_METHOD, _T("Error invoking method.")); //FMessages.SetValue(CONFIG_FILE_NOT_FOUND, _T("Configuration file %s is not found."));
< prev index next >