mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-210993 IDEA with JBR 11 starts with error via idea.bat
PY-35103 Running "pycharm.bat" complains "cannot find VM options file" if the custom VM options file was created
This commit is contained in:
@@ -58,11 +58,20 @@ IF NOT EXIST "%JAVA_EXE%" (
|
||||
|
||||
SET JRE=%JDK%
|
||||
IF EXIST "%JRE%\jre" SET JRE=%JDK%\jre
|
||||
IF EXIST "%JRE%\lib\amd64" SET BITS=64
|
||||
IF EXIST "%JRE%\lib\amd64" (
|
||||
SET BITS=64
|
||||
) ELSE (
|
||||
FOR /F "eol=# usebackq delims=" %%i IN ("%JRE%\release") do (
|
||||
ECHO.%%i | findstr /C:"1.8" 1>nul
|
||||
IF ERRORLEVEL 1 SET BITS=64
|
||||
goto :jvmOptions
|
||||
)
|
||||
)
|
||||
|
||||
:: ---------------------------------------------------------------------
|
||||
:: Collect JVM options and properties.
|
||||
:: ---------------------------------------------------------------------
|
||||
:jvmOptions
|
||||
IF NOT "%@@product_uc@@_PROPERTIES%" == "" SET IDE_PROPERTIES_PROPERTY="-Didea.properties.file=%@@product_uc@@_PROPERTIES%"
|
||||
|
||||
:: explicit
|
||||
|
||||
Reference in New Issue
Block a user