JVM undetected [message #175881] |
Mon, 23 October 2006 12: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 #175908 is a reply to message #175881] |
Mon, 23 October 2006 14:36 |
Eclipse User |
|
|
|
Originally posted by: eclipse4.rizzoweb.com
Saumyadeep wrote:
> 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 ..
>
You are correct that you should always use the -vm argument to
explicitly tell Eclipse what JVM to use.
What is the exact command-line you are trying? Most likely there is some
small mistake in it that is keeping you from success.
Hope this helps,
Eric
|
|
|
|
Re: JVM undetected [message #175965 is a reply to message #175908] |
Tue, 24 October 2006 09:44 |
Eclipse User |
|
|
|
Originally posted by: saum.paul.gmail.com
The full command that i used to run is with the vm argument :
D:\> eclipse.exe -vm "C:\Program Files\Java\j2re1.4.2_04\bin\client\jvm.dll"
|
|
|
|
Re: JVM undetected [message #175988 is a reply to message #175973] |
Tue, 24 October 2006 10:40 |
Eclipse User |
|
|
|
Originally posted by: saum.paul.gmail.com
MK Samuel wrote:
> Try this
> D:> eclipse.exe -vm "C:Program FilesJavaj2re1.4.2_04bin"
> This should work. The -vm path should point to the place where java.exe or
> javaw.exe is placed.
It gave an error ... " D:\eclipse\eclipse.exe not a win32 application "
|
|
|
|
Re: JVM undetected [message #176023 is a reply to message #175965] |
Tue, 24 October 2006 16:42 |
Eclipse User |
|
|
|
Originally posted by: eclipse4.rizzoweb.com
saumyadeep wrote:
> The full command that i used to run is with the vm argument :
> D:\> eclipse.exe -vm "C:\Program
> Files\Java\j2re1.4.2_04\bin\client\jvm.dll"
>
>
You don't specify the DLL, you specify the JVM executable. For example,
"C:\Program Files\Java\j2re1.4.2_04\bin\javaw.exe"
Note that it is recommended you use a JDK, not a JRE, for running Eclipse.
Hope this helps,
Eric
|
|
|
|
Re: JVM undetected [message #176052 is a reply to message #175998] |
Wed, 25 October 2006 04:35 |
Eclipse User |
|
|
|
Originally posted by: saum.paul.gmail.com
MK Samuel wrote:
> Can you please mention some of ur folder details.
> 1. In which folder eclipse is installed?
eclipse is in 'D:\eclipse'
> 2. In which folder java is installed?
java is in 'C:\Program Files\Java\j2re1.4.2_04'
> 3. What is the exact text which you have typed to open eclipse using the
-vm runtime option?
i went to the folder where eclipse is installed, 'D:\eclipse'>
The exact string that i typed was:
"eclipse -vm "C:\Program Files\Java\j2re1.4.2_04\bin"
|
|
|
|
Re: JVM undetected [message #176575 is a reply to message #175988] |
Wed, 25 October 2006 16:23 |
Eclipse User |
|
|
|
Originally posted by: nobody.there.127.0.0.1
Saumyadeep wrote:
> MK Samuel wrote:
>> This should work. The -vm path should point to the place where
>> java.exe or javaw.exe is placed.
>
> It gave an error ... " D:\eclipse\eclipse.exe not a win32 application "
Is there a chance you downloaded the Windows x86_64 or Windows ia64
install rather than the Windows install? It sounds as if you're not even
getting to the point where the JVM would matter.
Andrew Jr.
============================================================ ==========
IBM Phoenix Labs (OTI)
2929 North Central Avenue
Phoenix, Arizona, USA 85012
|
|
|
Re: JVM undetected [message #176626 is a reply to message #176125] |
Thu, 26 October 2006 05:29 |
Eclipse User |
|
|
|
Originally posted by: saum.paul.gmail.com
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..
|
|
|
Re: JVM undetected [message #177363 is a reply to message #176626] |
Mon, 30 October 2006 14: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.09282 seconds