84 CreateJavaVM_t CreateJavaVM; |
84 CreateJavaVM_t CreateJavaVM; |
85 GetDefaultJavaVMInitArgs_t GetDefaultJavaVMInitArgs; |
85 GetDefaultJavaVMInitArgs_t GetDefaultJavaVMInitArgs; |
86 GetCreatedJavaVMs_t GetCreatedJavaVMs; |
86 GetCreatedJavaVMs_t GetCreatedJavaVMs; |
87 } InvocationFunctions; |
87 } InvocationFunctions; |
88 |
88 |
89 JNIEXPORT int |
89 JNIEXPORT int JNICALL |
90 JLI_Launch(int argc, char ** argv, /* main argc, argc */ |
90 JLI_Launch(int argc, char ** argv, /* main argc, argc */ |
91 int jargc, const char** jargv, /* java args */ |
91 int jargc, const char** jargv, /* java args */ |
92 int appclassc, const char** appclassv, /* app classpath */ |
92 int appclassc, const char** appclassv, /* app classpath */ |
93 const char* fullversion, /* full version defined */ |
93 const char* fullversion, /* full version defined */ |
94 const char* dotversion, /* dot version defined */ |
94 const char* dotversion, /* dot version defined */ |
131 char *jrepath, jint so_jrepath, |
131 char *jrepath, jint so_jrepath, |
132 char *jvmpath, jint so_jvmpath, |
132 char *jvmpath, jint so_jvmpath, |
133 char *jvmcfg, jint so_jvmcfg); |
133 char *jvmcfg, jint so_jvmcfg); |
134 |
134 |
135 /* Reports an error message to stderr or a window as appropriate. */ |
135 /* Reports an error message to stderr or a window as appropriate. */ |
136 JNIEXPORT void JLI_ReportErrorMessage(const char * message, ...); |
136 JNIEXPORT void JNICALL |
|
137 JLI_ReportErrorMessage(const char * message, ...); |
137 |
138 |
138 /* Reports a system error message to stderr or a window */ |
139 /* Reports a system error message to stderr or a window */ |
139 JNIEXPORT void JLI_ReportErrorMessageSys(const char * message, ...); |
140 JNIEXPORT void JNICALL |
|
141 JLI_ReportErrorMessageSys(const char * message, ...); |
140 |
142 |
141 /* Reports an error message only to stderr. */ |
143 /* Reports an error message only to stderr. */ |
142 JNIEXPORT void JLI_ReportMessage(const char * message, ...); |
144 JNIEXPORT void JNICALL |
|
145 JLI_ReportMessage(const char * message, ...); |
143 |
146 |
144 /* Reports a message only to stdout. */ |
147 /* Reports a message only to stdout. */ |
145 void JLI_ShowMessage(const char * message, ...); |
148 void JLI_ShowMessage(const char * message, ...); |
146 |
149 |
147 /* |
150 /* |
148 * Reports an exception which terminates the vm to stderr or a window |
151 * Reports an exception which terminates the vm to stderr or a window |
149 * as appropriate. |
152 * as appropriate. |
150 */ |
153 */ |
151 JNIEXPORT void JLI_ReportExceptionDescription(JNIEnv * env); |
154 JNIEXPORT void JNICALL |
|
155 JLI_ReportExceptionDescription(JNIEnv * env); |
152 void PrintMachineDependentOptions(); |
156 void PrintMachineDependentOptions(); |
153 |
157 |
154 /* |
158 /* |
155 * Block current thread and continue execution in new thread |
159 * Block current thread and continue execution in new thread |
156 */ |
160 */ |