Lines Matching defs:javapath
975 char *javapath = NULL;
980 if ((javapath = (char *)malloc(strlen(envvar) + strlen(entry->d_name) + 2)) != NULL)
984 strcpy(javapath, envvar);
985 strcat(javapath, FILE_SEPARATOR);
986 strcat(javapath, entry->d_name);
987 if ((jrepath = GetJREPath(javapath)) != NULL)
1010 free(javapath);
1011 javapath = NULL;
1046 char *javapath = (char *)malloc(MAXPATHLEN);
1056 javapath = Resolve(currentpath, "java");
1057 if (javapath && access(javapath, X_OK) == 0)
1062 *strrchr(javapath, FILE_SEPARATOR_CHAR) = '\0';
1064 *strrchr(javapath, FILE_SEPARATOR_CHAR) = '\0';
1065 if ((jrepath = GetJREPath(javapath))!= NULL)
1085 free(javapath);