Why IDEA must run on the provided JRE?

I have always had a question, why IDEA must live on it's own JRE, is there any tricky? I installed too many JREs in my computer, as many Java based software also bundle one, but for the most of them, I can delete it and point it just to the JRE I installed my self, except IDEA, even if I installed a JRE versioned the same or higher than it's own one, it won't start. This has also bring the Download Size problem to me, 2.5 times than a pure one without JRE bundled. :( :(

Could anyone explain this to me, and better if provide a solution. :)

Thanks,

Edward Wang

3 comments
Comment actions Permalink

What OS? On windows, I edit idea.lax to point to another JRE dir, and it starts fine.

P.S.
Part of the problem is how Sun deploys the various JRE versions. There should be a way that
an app can specify what JRE it wants to run with and somehow magically run it with that version,
dort of how Java WebStart works

Edward Wang wrote:

I have always had a question, why IDEA must live on it's own JRE, is there any tricky? I installed too many JREs in my computer, as many Java based software also bundle one, but for the most of them, I can delete it and point it just to the JRE I installed my self, except IDEA, even if I installed a JRE versioned the same or higher than it's own one, it won't start. This has also bring the Download Size problem to me, 2.5 times than a pure one without JRE bundled. :( :(

Could anyone explain this to me, and better if provide a solution. :)

Thanks,

Edward Wang


--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

Oops, my mistake, it does not run. But I agree, it should not care as long as the JRE
is the correct version. Want to file a feature request?

Erb wrote:

What OS? On windows, I edit idea.lax to point to another JRE dir, and
it starts fine.

P.S.
Part of the problem is how Sun deploys the various JRE versions. There
should be a way that
an app can specify what JRE it wants to run with and somehow magically
run it with that version,
dort of how Java WebStart works

Edward Wang wrote:

>> I have always had a question, why IDEA must live on it's own JRE, is
>> there any tricky? I installed too many JREs in my computer, as many
>> Java based software also bundle one, but for the most of them, I can
>> delete it and point it just to the JRE I installed my self, except
>> IDEA, even if I installed a JRE versioned the same or higher than it's
>> own one, it won't start. This has also bring the Download Size problem
>> to me, 2.5 times than a pure one without JRE bundled. :( :(
>>
>> Could anyone explain this to me, and better if provide a solution. :)
>>
>> Thanks,
>> Edward Wang



--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

in fact, u can use ur specified jre. u should edit the idea.lax file and point to ur jre, AND, u should specify a command line option to disable idea check the jre version. i can't remember exact the option. u can juse searh the forum and some 1 has posted it.

0

Please sign in to leave a comment.