Lines Matching defs:minVersion
71 static void testFindJava(bool isJdk, int minVersion) {
74 int v = findJavaInEnvPath(&javaPath, isJdk, minVersion);
78 v = findJavaInRegistry(&javaPath, isJdk, minVersion);
82 v = findJavaInProgramFiles(&javaPath, isJdk, minVersion);
86 static void testFindJava(int minVersion) {
88 printf("Searching for version %d.%d or newer...\n", JAVA_MAJOR(minVersion),
89 JAVA_MINOR(minVersion));
93 testFindJava(false, minVersion);
97 testFindJava(true, minVersion);
121 int minVersion = MIN_JAVA_VERSION;
126 testFindJava(minVersion);
153 ((minVersion = parseMinVersionArg(argv[i])) == 0)) {
172 version = findJavaInPath(customPath, &javaPath, isJdk, minVersion);
175 version = findJavaInEnvPath(&javaPath, isJdk, minVersion);
178 version = findJavaInRegistry(&javaPath, isJdk, minVersion);
181 version = findJavaInProgramFiles(&javaPath, isJdk, minVersion);
186 s.setf("Failed to find Java %d.%d (or newer) on your system. ", JAVA_MAJOR(minVersion),
187 JAVA_MINOR(minVersion));