We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
java.exe
java
1 parent 3e617b6 commit 138ff4eCopy full SHA for 138ff4e
scripts/kotlin-lsp.cmd
@@ -14,8 +14,8 @@ if not exist "%DIR%\lib" (
14
15
set "JAVA_BIN=java"
16
if defined JAVA_HOME (
17
- set "JAVA_BIN=%JAVA_HOME%\bin\java"
18
- if not exist "%JAVA_BIN%" (
+ set "JAVA_BIN=%JAVA_HOME%\bin\java.exe"
+ "%JAVA_BIN%" -version >nul 2>&1 || (
19
echo 'java' should be on the PATH or JAVA_HOME must point to a valid JDK installation 1>&2
20
exit /b 1
21
)
0 commit comments