Hi Eugene I login to the FAQ, but I'm still figuring how can I add an item to the page. Any help?
On 5/29/07, Eugene Kuleshov <[EMAIL PROTECTED]> wrote:
The project FAQ is located at http://docs.codehaus.org/display/M2ECLIPSE/Project+FAQ Please feel free to an item about JRE vs. JDK up there. regards, Eugene hezjing wrote: > I think that it is also worth to mention this in the Installation > Notes or the FAQ. Since this has to be changed on the standard Eclipse > installation. > > What do you think? > > > On 5/29/07, hezjing <[EMAIL PROTECTED]> wrote: >> Thanks Peter, the problem is resolved and here are the summary to >> solve this problem: >> >> Do not change eclipse.ini, my eclipse.ini now shows: >> -vmargs -Xms40m -Xmx256m >> >> Add and set the JRE in Window->Preferences...->Java->Installed JREs: >> >> JRE type: Standard VM >> JRE name: jdk1.5.0_11 >> JRE home directory: C:\Program Files\Java\jdk1.5.0_11 >> >> >> ** The JRE in C:\Program Files\Java\jre1.5.0_11 was selected. >> >> >> >> On 5/25/07, Peter Schröder <[EMAIL PROTECTED]> wrote: >> > hi hezjing, >> > >> > this worked well for me... >> > >> > did you look into your eclipse runntime-settings? >> window>preferences>java>installed jres >> > >> > or you eclipse classpath variables? window>preferences>java>build >> path>classpath variables >> > >> > kind regards, >> > peter >> > >> > -----Ursprüngliche Nachricht----- >> > Von: hezjing [mailto:[EMAIL PROTECTED] >> > Gesendet: Freitag, 25. Mai 2007 11:03 >> > An: [email protected] >> > Betreff: Re: [m2eclipse-user] Unable to locate the Javac Compiler >> > >> > Yes, I'm running Eclipse on Windows XP. >> > >> > I modified C:\eclipse\eclipse.ini to the following (and restart >> Eclipse): >> > >> > -vm "C:\Program Files\Java\jdk1.5.0_11" -vmargs <...> and, >> > -vm "C:\Program Files\Java\jdk1.5.0_11\bin\java.exe" -vmargs <...> >> > >> > unfortunately I'm still getting the same error! >> > >> > >> > On 5/25/07, Peter Schröder <[EMAIL PROTECTED]> wrote: >> > > i suppose you are running on windows. >> > > >> > > try in your cmd: java --version >> > > >> > > this is probably a jre instead of jdk. so eclipse gets started >> with jre and so maven plugin starts maven through jre. >> > > >> > > there is a start-parameter for eclipse where you can set the >> runntime: >> > > -vm "C:\Program Files\Java\jdk1.5.0_11" >> > > >> > > -----Ursprüngliche Nachricht----- >> > > Von: hezjing [mailto:[EMAIL PROTECTED] >> > > Gesendet: Freitag, 25. Mai 2007 05:09 >> > > An: [email protected] >> > > Betreff: [m2eclipse-user] Unable to locate the Javac Compiler >> > > >> > > Hi! >> > > >> > > I get this error when run package-goal in Eclipse's External Tools: >> > > >> > > Unable to locate the Javac Compiler in: >> > > C:\Program Files\Java\jre1.5.0_11\..\lib\tools.jar >> > > Please ensure you are using JDK 1.4 or above and >> > > not a JRE (the com.sun.tools.javac.Main class is required). >> > > In most cases you can change the location of your Java >> > > installation by setting the JAVA_HOME environment variable. >> > > >> > > >> > > JAVA_HOME is C:\Program Files\Java\jdk1.5.0_11 >> > > >> > > >> > > >> > > -- >> > > >> > > Hez >> > > >> > > >> --------------------------------------------------------------------- >> > > 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 >> > > >> > > >> > >> > >> > -- >> > >> > Hez >> > >> > --------------------------------------------------------------------- >> > To unsubscribe from this list please visit: >> > >> > http://xircles.codehaus.org/manage_email >> > >> > >> >> >> -- >> >> Hez >> > > --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
-- Hez
