Home
last modified time | relevance | path

Searched refs:javaPath (Results 1 – 8 of 8) sorted by relevance

/sdk/find_java/src/source/
Dfind_java_exe.cpp73 CPath javaPath("<not found>"); in testFindJava() local
74 int v = findJavaInEnvPath(&javaPath, isJdk, minVersion); in testFindJava()
75 printf(" findJavaInEnvPath: [%d] %s\n", v, javaPath.cstr()); in testFindJava()
77 javaPath.set("<not found>"); in testFindJava()
78 v = findJavaInRegistry(&javaPath, isJdk, minVersion); in testFindJava()
79 printf(" findJavaInRegistry [%d] %s\n", v, javaPath.cstr()); in testFindJava()
81 javaPath.set("<not found>"); in testFindJava()
82 v = findJavaInProgramFiles(&javaPath, isJdk, minVersion); in testFindJava()
83 printf(" findJavaInProgramFiles [%d] %s\n", v, javaPath.cstr()); in testFindJava()
167 CPath javaPath; in main() local
[all …]
Dfind_java.h42 bool getJavaVersion(CPath &javaPath, CString *outVersionStr, int *outVersionInt);
Dfind_java_lib.cpp435 bool getJavaVersion(CPath &javaPath, CString *outVersionStr, int *outVersionInt) { in getJavaVersion() argument
448 cmd.setf("\"%s\" -version", javaPath.cstr()); in getJavaVersion()
/sdk/find_java2/FindJava2/
DFindJava2.cpp113 CJavaPath javaPath = javaFinder.getRegistryPath(); in _tmain() local
120 bool isReg = (p == javaPath); in _tmain()
127 if (!regPrinted && !javaPath.isEmpty()) { in _tmain()
128 const CJavaPath &p = javaPath; in _tmain()
134 if (doForceUi || javaPath.isEmpty()) { in _tmain()
141 javaPath = dlg.getSelectedPath(); in _tmain()
142 javaFinder.setRegistryPath(javaPath); in _tmain()
149 if (javaPath.isEmpty()) { in _tmain()
156 if (!javaPath.toShortPath()) { in _tmain()
160 javaPath.mPath); in _tmain()
[all …]
/sdk/find_java2/src/
DWinLauncher2App.cpp118 CJavaPath javaPath = javaFinder.getRegistryPath(); in InitInstance() local
119 if (cmdLine.mDoForceUi || javaPath.isEmpty()) { in InitInstance()
120 javaPath.clear(); in InitInstance()
129 javaPath = dlg.getSelectedPath(); in InitInstance()
130 javaFinder.setRegistryPath(javaPath); in InitInstance()
138 if (!javaPath.isEmpty()) { in InitInstance()
141 msg.Append(javaPath.mPath); in InitInstance()
DFindJava2Dlg.cpp126 CJavaPath javaPath; in OnBnClickedButtonAdd() local
127 if (!mJavaFinder->checkJavaPath(path, &javaPath)) { in OnBnClickedButtonAdd()
129 if (javaPath.mVersion > 0) { in OnBnClickedButtonAdd()
132 javaPath.getVersion()); in OnBnClickedButtonAdd()
139 if (mPaths.find(javaPath) == mPaths.end()) { in OnBnClickedButtonAdd()
141 mPaths.insert(javaPath); in OnBnClickedButtonAdd()
146 selectPath(-1 /*index*/, &javaPath); in OnBnClickedButtonAdd()
DJavaFinder.cpp70 bool getJavaVersion(CPath &javaPath, CString *outVersionStr, int *outVersionInt) { in getJavaVersion() argument
83 cmd.Format(_T("\"%s\" -version"), (LPCTSTR) javaPath); in getJavaVersion()
535 CJavaPath javaPath; in getRegistryPath() local
536 if (checkJavaPath(existing, &javaPath)) { in getRegistryPath()
537 return javaPath; in getRegistryPath()
544 bool CJavaFinder::setRegistryPath(const CJavaPath &javaPath) { in setRegistryPath() argument
548 … bool ok = rk.SetStringValue(JF_REGISTRY_VALUE_PATH, javaPath.mPath, REG_SZ) == ERROR_SUCCESS && in setRegistryPath()
549 … rk.SetStringValue(JF_REGISTRY_VALUE_VERS, javaPath.getVersion(), REG_SZ) == ERROR_SUCCESS; in setRegistryPath()
DJavaFinder.h38 bool setRegistryPath(const CJavaPath &javaPath);