How to specify JVM IntelliJ has to run on?

If I wanna specify a JVM different from the supplied one is there a way to do it? I mean not a JVM for a project but the JVM that IntelliJ is ran under. In Adriana there is at least a command line runner (idea.bat) where I can choose it but in Aurora there is only an EXE file.

5 comments

Hello!

What is the reason to change JDK IDEA runs under?

--
Best regards,
Anton Katilin
-


JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Roman" <rrytov@entopia.com> wrote in message
news:2464124.1049195682221.JavaMail.jrun@is.intellij.net...

If I wanna specify a JVM different from the supplied one is there a way to

do it? I mean not a JVM for a project but the JVM that IntelliJ is ran
under. In Adriana there is at least a command line runner (idea.bat) where I
can choose it but in Aurora there is only an EXE file.


0

This issue has been discussed a lot of times in this forum, even during Ariadna EAP.
(Do a search in the forum...you'll see)

The procedure to change the JVM is the following, but remember it is not recommended:

a) Copy the "jre/" directory from the JDK install (or the JRE stand-alone install) to IDEA home.

b) Copy "tools.jar" from the JDK to "jre/lib" in IDEA home.

c) Copy "javac.exe" from "/bin" in the JDK to "jre/bin" in IDEA home.

Indeed IDEA has been developed to run smoothly with the bundled JRE, and you shouldn't have to change the JRE for your own development purposes.

(You can run a custom JRE to launch your ant build though)

Dan/

0

I just wanted to test Rockit JVM since it's much faster than Sun's one. The advised way ddidn't work and if it's SO problemetic I wouln't go this direction.

0

Roman wrote:

I just wanted to test Rockit JVM since it's much faster than Sun's one. The advised way ddidn't work and if it's SO problemetic I wouln't go this direction.


I would recommend editing file bin/idea.lax. I never did it myself but IMHO it should work.

--
Dmitry Skavish
-


Boston, MA, USA
tel. +1 781 370-6909
http://www.jzox.com
http://www.flashgap.com

0

I'm not certain that you'd see any improvement, I'd actually expect to see
it run slower since JRockit is optimized for Server side apps, not client
side.

From their web site:

"JRockit is the first and only JVM that is designed from the ground-up
specifically to address the unique requirements of server-side Java
applications"

rob.

"Roman" <rrytov@entopia.com> wrote in message
news:31905963.1049208045572.JavaMail.jrun@is.intellij.net...

I just wanted to test Rockit JVM since it's much faster than Sun's one.

The advised way ddidn't work and if it's SO problemetic I wouln't go this
direction.


0

Please sign in to leave a comment.