Skip to content

Commit 4a47e03

Browse files
committed
vscode-extension: fix MISSING_JAVA_ERROR never getting used because INVALID_JAVA_ERROR was displayed both when Java was not found and when it was invalid
1 parent 446dcc6 commit 4a47e03

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vscode-extension/src/main/ts/extension.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ function startClient() {
605605
return;
606606
}
607607

608-
if (!javaExecutablePath || hasInvalidJava()) {
608+
if (hasInvalidJava()) {
609609
vscode.window.showErrorMessage(INVALID_JAVA_ERROR);
610610
return;
611611
}

0 commit comments

Comments
 (0)