Lines Matching defs:jvmpath
50 char *jvmpath, jint jvmpathsize);
163 char jvmpath[],
187 jvmpath[0] = '\0';
188 if (!GetJVMPath(jrepath, jvmtype, jvmpath, so_jvmpath)) {
192 strlen(jvmpath)) * sizeof(char));
193 sprintf(message,format, jvmtype, jvmpath);
197 /* If we got here, jvmpath has been correctly initialized. */
215 if (!GetJVMPath(jrepath, NULL, jvmpath, so_jvmpath)) {
219 strlen(jvmpath)) * sizeof(char));
220 sprintf(message, format, jvmpath);
390 char *jvmpath, jint jvmpathsize)
396 sprintf(jvmpath, "%s\\" JVM_DLL, jvmtype);
398 sprintf(jvmpath, "%s\\bin\\%s\\" JVM_DLL, jrepath, jvmtype);
408 GetModuleFileName(0, jvmpath, jvmpathsize);
410 p = strrchr(jvmpath, '\\');
413 snprintf(p + 1, jvmpathsize - (p + 1 - jvmpath), "%s", JVM_DLL);
416 snprintf(jvmpath, jvmpathsize, "%s", JVM_DLL);
420 if (stat(jvmpath, &s) == 0) {
428 * Load a jvm from "jvmpath" and initialize the invocation functions.
431 LoadJavaVM(const char *jvmpath, InvocationFunctions *ifn)
442 printf("JVM path is %s\n", jvmpath);
449 if ((handle = LoadLibrary(jvmpath)) == 0) {
450 ReportErrorMessage2("Error loading: %s", (char *)jvmpath, JNI_TRUE);
461 (char *)jvmpath, JNI_TRUE);