Skip to content

Commit

Permalink
rcp: fixing fasten.bat
Browse files Browse the repository at this point in the history
  • Loading branch information
danielratiu committed Aug 3, 2019
1 parent dacdb45 commit d5e3edc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rcp_resources/bin/fasten.bat
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ IF NOT "%JDK%" == "" GOTO check
IF EXIST "%JAVA_HOME%" SET JDK=%JAVA_HOME%

:check
SET JAVA_EXE=%JDK%\bin\java.exe
IF NOT EXIST "%JAVA_EXE%" SET JAVA_EXE=%JDK%\jre\bin\java.exe
SET JAVA_EXE=%JDK%\bin\javaw.exe
IF NOT EXIST "%JAVA_EXE%" SET JAVA_EXE=%JDK%\jre\bin\javaw.exe
IF NOT EXIST "%JAVA_EXE%" (
ECHO ERROR: cannot start JetBrains MPS.
ECHO No JDK found. Please validate either MPS_JDK, JDK_HOME or JAVA_HOME points to valid JDK installation.
Expand Down

0 comments on commit d5e3edc

Please sign in to comment.