Custom JDK with idea.exe

How can I tell the idea.exe (5.0.2) to not use the bundled JRE but my installed JDK for running the idea?

In 4.5.x this used to be..
lax.nl.current.vm=C:
java
jdk1.5.0
bin
java.exe
.. setting in idea.lax

It's really stupid to have tens of JRE's or JDK's on your computer for each program. This causes lots of extra file swapping because each program has it's own physical copy of the runtime. Also the performance enhancements of the 1.5 (shared classes) are useless if each program has it's own runtime files..

Please tell me that this is possible without resorting to ancient .bat file usage.


P.S.
I know about the no.jdk.check=true flag, it's the custom location of JDK that's missing.

2 comments
Comment actions Permalink

Try setting environment variable "IDEA_JDK".
This is at least used in idea.bat

Hezekiel schrieb:

How can I tell the idea.exe (5.0.2) to not use the bundled JRE but my installed JDK for running the idea?

In 4.5.x this used to be..
lax.nl.current.vm=C:
java
jdk1.5.0
bin
java.exe
. setting in idea.lax

It's really stupid to have tens of JRE's or JDK's on your computer for each program. This causes lots of extra file swapping because each program has it's own physical copy of the runtime. Also the performance enhancements of the 1.5 (shared classes) are useless if each program has it's own runtime files..

Please tell me that this is possible without resorting to ancient .bat file usage.


P.S.
I know about the no.jdk.check=true flag, it's the custom location of JDK that's missing.

0
Comment actions Permalink

Hello Hezekiel,

This is not possible unfortunately due to limitations of the exe4j launcher
generator. More correctly this is limitation of the version we were using
to the moment 5.0 have been released.

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

How can I tell the idea.exe (5.0.2) to not use the bundled JRE but my
installed JDK for running the idea?

In 4.5.x this used to be..
lax.nl.current.vm=C:
java
jdk1.5.0
bin
java.exe . setting in
idea.lax

It's really stupid to have tens of JRE's or JDK's on your computer for
each program. This causes lots of extra file swapping because each
program has it's own physical copy of the runtime. Also the
performance enhancements of the 1.5 (shared classes) are useless if
each program has it's own runtime files..

Please tell me that this is possible without resorting to ancient .bat
file usage.

P.S.
I know about the no.jdk.check=true flag, it's the custom location of
JDK that's missing.



0

Please sign in to leave a comment.