The other thing you can do, which I prefer, is to fiddle with the Windows 
shortcut that starts eclipse.  Right click on the eclipse item wherever it is 
in your Windows start menu and select Properties, then select the Shortcut tab. 
 In the Target box use the -vm option and any others you need, with quotes 
around things with spaces in them.  For example, mine has (this is all one long 
line):

"C:\Program Files\eclipse-3.4.2\eclipse.exe" -vm "C:\Program 
Files\Java\jdk1.5.0_17\bin\javaw" -vmargs -Xms256m -Xmx768m -XX:PermSize=256M 
-XX:MaxPermSize=512M


nani2ratna wrote:
Hi Thanks for you reply,

I put like this
-vm C:\Java\jdk6\bin\java.exe

and like this tooo
-vm "C:\Java\jdk6\bin\java.exe"

It didnt work.

Then I put like you said like
-vm C:\Java\jdk6\bin\java.exe

Then its working fine.

Thank you very much
Bye



Linkan wrote:
put something like

-vm
C:\Java\jdk6\bin\javaw.exe

in your eclipse.ini file located in your eclipse install dir.

//Swanthe

nani2ratna wrote:
Hi,
In my system i am using java 1.6 and tomcat 5.5
Eclipse version is Ganymede.
I just updated my version with maven plugin.
And i created a small web application project from eclipse.
When i close and open the eclipse i am getting popup with message ----
---------------------------------------------------------------
The Maven Integration requires that Eclipse be running in a JDK, because
a
number of Maven core plugins are using jars from the JDk.

Please make sure the -vm option in eclipse.ini is pointing to a JDK and
verify that Installed JRE's are also using JDK installs.
---------------------------------------------------------------------------

After i clicking OK for that in console i am getting error message like
this

09/03/02 02:16:26: Eclipse is running in a JRE, but a JDK is required
  Some Maven plugins may not work when importing projects or updating
source
folders.

---------------------------------------------------------------

To solve this i did as they said in this link http://www.nabble.com/I-installed-m2eclipse-plugin-and-got-this-error-td16251210.html

But i didnt solve my probelm i put a new argument in eclipse.ini

-vm C:\Program Files\Java\jdk1.6.0_01\bin\java.exe

It didnt solve my problem.

Please help to solve this problem.

Thanks and regards
Ratna Sekhar.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email






---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to