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