Lines Matching refs:javaPath
28 #define JF_REGISTRY_VALUE_PATH _T("JavaPath")
69 // - outVersionInt: not null, will capture version as an int (see JavaPath.h).
70 bool getJavaVersion(CPath &javaPath, CString *outVersionStr, int *outVersionInt) {
83 cmd.Format(_T("\"%s\" -version"), (LPCTSTR) javaPath);
535 CJavaPath javaPath;
536 if (checkJavaPath(existing, &javaPath)) {
537 return javaPath;
544 bool CJavaFinder::setRegistryPath(const CJavaPath &javaPath) {
548 bool ok = rk.SetStringValue(JF_REGISTRY_VALUE_PATH, javaPath.mPath, REG_SZ) == ERROR_SUCCESS &&
549 rk.SetStringValue(JF_REGISTRY_VALUE_VERS, javaPath.getVersion(), REG_SZ) == ERROR_SUCCESS;