To run IDEA with an arbitrary JVM the "JDK_HOME" environment variable needs to be set (not "JAVA_HOME"). Then IDEA can be started with the "idea.bat" file in the "bin" directory of the installation.
By default the batch file will leave an extra console window around. This can be avoided by (a) changing from the java.exe executable to the javaw.exe (just add that extra w where the JAVA_EXE is configured) and (b) adding the "start" command in front of the actual call to java.
Note that start assumes that the first quoted parameter is a window name, not a command. That means you need one more quoted parameter in front with arbitrary content. The full line in my file (IDEA 10.5.2) looks like this:
start "" "%JAVA_EXE%" %JVM_ARGS% -cp "%CLASS_PATH%" %IDEA_MAIN_CLASS_NAME% %*
1 comment:
Excellent article and i like your great posts. I want more info from this blog...
Unix Training in Chennai
Best Unix Training in Chennai
Excel Training in Chennai
Oracle DBA Training in Chennai
Spark Training in Chennai
Oracle Training in Chennai
Graphic Design Courses in Chennai
Power BI Training in Chennai
Pega Training in Chennai
Post a Comment