JVM undetected [message #175881] |
Mon, 23 October 2006 08:28  |
Eclipse User |
|
|
|
Originally posted by: saum.paul.gmail.com
Hi,
I have downloaded eclpse 3.1 which requires jvm 1.4.* for running .. now
although i have jre1.4.2 eclipse refuses to start, sayin that java 1.3 is
reqd and it has detected jvm 1.3 ... i suppose that eclipse is not able to
select the jvm, but in that case i tried running eclipse with the -vm
argument and it still doesnt run, stating specifically that no jvm has
been found, how do i fix this ..
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: JVM undetected [message #177363 is a reply to message #176626] |
Mon, 30 October 2006 09:40  |
Eclipse User |
|
|
|
Originally posted by: eclipse4.rizzoweb.com
Saumyadeep wrote:
> Lorenzo Bettini wrote:
>
>> the path should contain the executable as well (not only the
>> directory), i.e., -vm "C:Program FilesJavaj2re1.4.2_04binjava.exe"
>
> It did fix the problem but is there any way i can configure it to run
> with the 1.4 vm by default, i mean is there a way where by i wont have
> to issue a cmd line arg always..
>
Yes, you have two options:
A) create a Windows shortcut or "batch" file that contains the full
command-line, then you can double-click that shortcut to launch Eclipse.
B) In the same directory as eclipse.exe there should be a file
eclipse.ini - in that file you can specify startup parameters. Just be
careful as the format of the file is very particular and it will fail if
you get it wrong (line breaks are important). Below is a sample of my
eclipse.ini file which you can adapt for your own set-up.
Hope this helps,
Eric
--- Begin eclipse.ini ---
-vm
D:\Java\JDK\1.5.0\bin\javaw.exe
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=128m
|
|
|
Powered by
FUDForum. Page generated in 0.09083 seconds