Lines Matching refs:jvmpath
176 char *jvmpath, jint jvmpathsize, char * arch);
192 char jvmpath[],
306 jvmpath does not exist */
320 jvmpath[0] = '\0';
323 if (!GetJVMPath(jrepath, jvmtype, jvmpath, so_jvmpath, arch )) {
324 fprintf(stderr, "Error: no `%s' JVM at `%s'.\n", jvmtype, jvmpath);
342 jvmpath[0] = '\0';
345 jvmpathExists = GetJVMPath(jrepath, jvmtype, jvmpath, so_jvmpath,
472 jvmpath = JLI_StringDup(jvmpath);
475 strlen(jvmpath) + 52);
484 lastslash = strrchr(jvmpath, '/');
489 /* jvmpath, ((running != wanted)?((wanted==64)?"/"LIBARCH64NAME:"/.."):""), */
495 jvmpath,
636 if (!GetJVMPath(jrepath, NULL, jvmpath, so_jvmpath, arch )) {
637 fprintf(stderr, "Error: no JVM at `%s'.\n", jvmpath);
651 char *jvmpath, jint jvmpathsize, char * arch)
657 sprintf(jvmpath, "%s/" JVM_DLL, jvmtype);
659 sprintf(jvmpath, "%s/lib/%s/%s/" JVM_DLL, jrepath, arch, jvmtype);
670 snprintf(jvmpath, jvmpathsize, "%s", GetExecname());
671 p = strrchr(jvmpath, '/');
674 snprintf(p + 1, jvmpathsize - (p + 1 - jvmpath), "%s", JVM_DLL);
677 snprintf(jvmpath, jvmpathsize, "%s", JVM_DLL);
682 printf("Does `%s' exist ... ", jvmpath);
684 if (stat(jvmpath, &s) == 0) {
737 LoadJavaVM(const char *jvmpath, InvocationFunctions *ifn)
749 printf("JVM path is %s\n", jvmpath);
752 libjvm = dlopen(jvmpath, RTLD_NOW + RTLD_GLOBAL);
760 fp = fopen(jvmpath, "r");
814 fprintf(stderr, "Error: failed %s, because %s\n", jvmpath, dlerror());