[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: starting eclipse

JAVA_HOME means "Home of Java", not "Java".
It is better to use the -vm argument as specified in FAQ 25

-- 
Chris Laffra, http://eclipsefaq.org


"Gavin Stewart" <jaco38@xxxxxxxxxxx> wrote in message
news:cvo9ig$ftm$1@xxxxxxxxxxxxxxxxxx
> Hey guys,
>
> Still doesnt work. Its still trying to look for
> c:\eclipse\jre\bin\javaw.exe.
>
> It should be looking for C:\j2sdk1.4.2_07\jre\bin\javaw.exe. Ive tried
> setting a system variable JAVA_HOME to C:\j2sdk1.4.2_07\jre\bin\javaw.exe
> and ive tried putting an eclipse.ini file next to exclipse.exe and putting
> JAVA_HOME C:\j2sdk1.4.2_07\jre\bin\javaw.exe on the first line.
>
> Any ideas?
>
> Gav
>
> Chris Laffra wrote:
>
> > Relying on JAVA_HOME is not a good idea. Just search this newsgroup for
> > JAVA_HOME.
> > Namely, there are plenty products that change it to old VMs without you
> > knowing.
> > See:
>
> >     http://www.eclipsefaq.org/chris/faq/html/faq25.html (#2 in the top 5
> > FAQs)
>
> > For 3.1M5, you can place a file next to eclipse.exe, and call it
eclipse.ini
> > In it, add your startup commands, one per line. No shortcuts necessary
in
> > that case.
>
>
>