Skip to content

Commit 7c2ae07

Browse files
jisedlacthurka
authored andcommitted
GH-572: fix --jdkhome parameter to support space in JDK path
1 parent 4ad2336 commit 7c2ae07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

integrations/vscode/src/parameters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export async function jdkHome(predefinedJdk?: string): Promise<string | undefine
5858
if (!jdkPath) {
5959
throw new Error();
6060
}
61-
return `--jdkhome ${jdkPath}`;
61+
return `--jdkhome "${jdkPath}"`;
6262
}
6363
return undefined;
6464
}

0 commit comments

Comments
 (0)