/openjdk7/jdk/src/solaris/bin/ |
H A D | java_md_solinux.c | 366 char * jvmtype = NULL; local 462 jvmtype = CheckJvmType(pargc, pargv, JNI_FALSE); 463 if (JLI_StrCmp(jvmtype, "ERROR") == 0) { 468 if (!GetJVMPath(jrepath, jvmtype, jvmpath, so_jvmpath, arch, 0 )) { 469 JLI_ReportErrorMessage(CFG_ERROR8, jvmtype, jvmpath); 507 jvmtype = CheckJvmType(pargc, pargv, JNI_TRUE); 508 if (JLI_StrCmp(jvmtype, "ERROR") == 0) { 514 jvmpathExists = GetJVMPath(jrepath, jvmtype, jvmpath, so_jvmpath, GetArchPath(wanted), 0); 757 GetJVMPath(const char *jrepath, const char *jvmtype, argument 762 if (JLI_StrChr(jvmtype, '/')) { [all...] |
/openjdk7/hotspot/src/os/windows/launcher/ |
H A D | java_md.c | 49 static jboolean GetJVMPath(const char *jrepath, const char *jvmtype, 167 char * jvmtype; local 185 jvmtype = CheckJvmType(_argc, _argv, JNI_FALSE); 188 if (!GetJVMPath(jrepath, jvmtype, jvmpath, so_jvmpath)) { 191 message = (char *)JLI_MemAlloc((strlen(format)+strlen(jvmtype)+ 193 sprintf(message,format, jvmtype, jvmpath); 389 GetJVMPath(const char *jrepath, const char *jvmtype, argument 395 if (strchr(jvmtype, '/') || strchr(jvmtype, '\\')) { 396 sprintf(jvmpath, "%s\\" JVM_DLL, jvmtype); [all...] |
/openjdk7/jdk/src/macosx/bin/ |
H A D | java_md_macosx.c | 391 char * jvmtype = NULL; local 475 jvmtype = CheckJvmType(pargc, pargv, JNI_FALSE); 476 if (JLI_StrCmp(jvmtype, "ERROR") == 0) { 481 if (!GetJVMPath(jrepath, jvmtype, jvmpath, so_jvmpath, arch, wanted)) { 482 JLI_ReportErrorMessage(CFG_ERROR8, jvmtype, jvmpath); 519 jvmtype = CheckJvmType(pargc, pargv, JNI_TRUE); 520 if (JLI_StrCmp(jvmtype, "ERROR") == 0) { 526 jvmpathExists = GetJVMPath(jrepath, jvmtype, jvmpath, so_jvmpath, GetArchPath(wanted), wanted); 578 GetJVMPath(const char *jrepath, const char *jvmtype, argument 583 if (JLI_StrChr(jvmtype, '/')) { [all...] |
/openjdk7/hotspot/src/os/posix/launcher/ |
H A D | java_md.c | 175 static jboolean GetJVMPath(const char *jrepath, const char *jvmtype, 217 char * jvmtype = NULL; local 321 jvmtype = CheckJvmType(_argcp, _argvp, JNI_FALSE); 323 if (!GetJVMPath(jrepath, jvmtype, jvmpath, so_jvmpath, arch )) { 324 fprintf(stderr, "Error: no `%s' JVM at `%s'.\n", jvmtype, jvmpath); 343 jvmtype = CheckJvmType(_argcp, _argvp, JNI_TRUE); 345 jvmpathExists = GetJVMPath(jrepath, jvmtype, jvmpath, so_jvmpath, 650 GetJVMPath(const char *jrepath, const char *jvmtype, argument 656 if (strchr(jvmtype, '/')) { 657 sprintf(jvmpath, "%s/" JVM_DLL, jvmtype); [all...] |
/openjdk7/hotspot/src/share/tools/launcher/ |
H A D | java.c | 658 char *jvmtype = getenv("JDK_ALTERNATE_VM"); local 693 jvmtype = knownVMs[jvmidx = i].name + 1; /* skip the - */ 701 jvmtype = arg+((arg[1]=='X')? 10 : 12); 729 if (jvmtype == NULL) { 744 return jvmtype; 773 jvmtype = knownVMs[jvmidx].name+1; 782 jvmtype, knownVMs[0].name + 1); 786 jvmtype = knownVMs[jvmidx=0].name + 1; 792 ReportErrorMessage2("Error: %s VM not supported", jvmtype, JNI_TRUE); 799 return jvmtype; [all...] |
/openjdk7/jdk/src/share/bin/ |
H A D | java.c | 466 char *jvmtype = getenv("JDK_ALTERNATE_VM"); local 501 jvmtype = knownVMs[jvmidx = i].name + 1; /* skip the - */ 509 jvmtype = arg+((arg[1]=='X')? 10 : 12); 537 if (jvmtype == NULL) { 550 return jvmtype; 577 jvmtype = knownVMs[jvmidx].name+1; 585 JLI_ReportErrorMessage(CFG_WARN1, jvmtype, knownVMs[0].name + 1); 589 jvmtype = knownVMs[jvmidx=0].name + 1; 595 JLI_ReportErrorMessage(CFG_ERROR3, jvmtype); 602 return jvmtype; [all...] |
/openjdk7/jdk/src/windows/bin/ |
H A D | java_md.c | 49 static jboolean GetJVMPath(const char *jrepath, const char *jvmtype, 175 char * jvmtype; local 212 jvmtype = CheckJvmType(pargc, pargv, JNI_FALSE); 213 if (JLI_StrCmp(jvmtype, "ERROR") == 0) { 219 if (!GetJVMPath(jrepath, jvmtype, jvmpath, so_jvmpath)) { 220 JLI_ReportErrorMessage(CFG_ERROR8, jvmtype, jvmpath); 343 GetJVMPath(const char *jrepath, const char *jvmtype, argument 347 if (JLI_StrChr(jvmtype, '/') || JLI_StrChr(jvmtype, '\\')) { 348 JLI_Snprintf(jvmpath, jvmpathsize, "%s\\" JVM_DLL, jvmtype); [all...] |