mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-174588 Switch JDK action does not work
Corrected location of idea.jdk file
This commit is contained in:
@@ -155,7 +155,7 @@ bool FindJVMInSettings() {
|
||||
if (LoadString(hInst, IDS_VM_OPTIONS_PATH, buffer, _MAX_PATH)) {
|
||||
ExpandEnvironmentStrings(buffer, copy, _MAX_PATH - 1);
|
||||
std::wstring path(copy);
|
||||
path += L"\\config" + module.substr(module.find_last_of('\\')) + L".jdk";
|
||||
path += module.substr(module.find_last_of('\\')) + L".jdk";
|
||||
FILE *f = _tfopen(path.c_str(), _T("rt"));
|
||||
if (!f) return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user