Installation problems [message #5939] |
Sat, 12 July 2003 18:42  |
Eclipse User |
|
|
|
Originally posted by: ulf.nordlund.frobozz.se
I keep getting this error message when trying to install eclipse 2.1 on
Windows XP:
"
JVM terminated.Exit code = 1.
C:\WINDOWS\system32\javaw.exe
...
-showsplash C:\eclipse\eclipse.exe -showsplash 600
"
I have noticed that also others have had this problem, but I cannot find a
solution that works... (I have tried starting it with:
">C:\eclipse\eclipse.exe -vm c:\j2sdk1.4.2\bin\javaw.exe", but that
doesn't work either.)
Can anyone give me a simple description on what to do?(I am no OS
expert.) I would appreciate it very much.
BTW: Anyone knows where can I find documentation on eclipse installation?
(Installation documentation seems to be the only area where other
IDEs/platforms do better...)
Many thanks,
/ulf
|
|
|
|
|
|
Re: Installation problems [message #6409 is a reply to message #5993] |
Fri, 25 July 2003 04:37   |
Eclipse User |
|
|
|
Originally posted by: robert.varga.fathomtechnology.com
That's not Eclipse's or any plugin's responsibility.
That's how the system is installed. A JVM does not put anything in the path,
so that
it does not disturb other things already in place. You MAY have a java
program or
you may be viewing pages with Microsoft Java extensions, which probably
would not
work with a non-Microsoft JVM. Proper JDK/JRE packages play nice. Microsoft
was
not playing nice with how it approached Java, and that is causing the
problem.
What you can do is:
1. Create a JAVA_HOME environment variable, that points to your actually
preferred JDK.
This way you can easily choose between JDKs installed.
2. Put %JAVA_HOME%\bin in the path, anywhere preceeding
<windowsroot>\system32, which also
contains java, javaw & co binaries. This way the java* in the JDK bin
directory is invoked whenever
it is invoked from the path.
You can also configure the Java plugin in the Control Panel, that is for
changing what JVM is invoked
for running java code in a browser for which versions.This usually points to
the JRE in Program Files ...
The Eclipse Workbench itself uses Java from the path I think.
For Java things launched from inside Eclipse in a separate process, the JDK
in JAVA_HOME is
used if it was setup (the environment variable) there when first running
Eclipse.
So if you installed it after setting up the JAVA_HOME in the path, it
automatically finds the JDK in
JAVA_HOME.
If it was not done in this order, then you can configure a new JVM to be
used inside Eclipse
(whenever external java process is invoked).
Regards,
Robert Varga
"Trevor Williams" <twilliams66@netscape.net> wrote in message
news:bfid8b$agc$1@eclipse.org...
> Granted I'm new to Eclipse, but wouldn't it also make sense to get the
> Sun VM ahead of the MS VM in the path? javaw.exe should be found in
> (for instance) c:\j2sdk1.x.x\bin. Just my opinion.
>
> - Trevor Williams
>
> Daniel Megert wrote:
> > Larry Lin wrote:
> >
> >> I think you could remove .metadata/.plugins/org.eclipse.* of workspace.
> >> And try it again.
> >> Good luck.
> >>
> > A better idea would be to try the workspace restorer plug-in (use search
> > facility @ eclipse.org).
> >
> > HTH
> > Dani
> >
>
|
|
|
Re: Installation problems [message #6427 is a reply to message #6409] |
Fri, 25 July 2003 10:33   |
Eclipse User |
|
|
|
Originally posted by: John_Arthorne.oti.com_
The easiest approach is to explicitly specify the VM from the eclipse
command line. That way, java doesn't need to be on any path, and no
environment variables are needed:
eclipse -vm c:\jre\bin\java
--
Robert Varga wrote:
> That's not Eclipse's or any plugin's responsibility.
>
> That's how the system is installed. A JVM does not put anything in the path,
> so that
> it does not disturb other things already in place. You MAY have a java
> program or
> you may be viewing pages with Microsoft Java extensions, which probably
> would not
> work with a non-Microsoft JVM. Proper JDK/JRE packages play nice. Microsoft
> was
> not playing nice with how it approached Java, and that is causing the
> problem.
>
> What you can do is:
>
> 1. Create a JAVA_HOME environment variable, that points to your actually
> preferred JDK.
> This way you can easily choose between JDKs installed.
> 2. Put %JAVA_HOME%\bin in the path, anywhere preceeding
> <windowsroot>\system32, which also
> contains java, javaw & co binaries. This way the java* in the JDK bin
> directory is invoked whenever
> it is invoked from the path.
>
> You can also configure the Java plugin in the Control Panel, that is for
> changing what JVM is invoked
> for running java code in a browser for which versions.This usually points to
> the JRE in Program Files ...
>
> The Eclipse Workbench itself uses Java from the path I think.
>
> For Java things launched from inside Eclipse in a separate process, the JDK
> in JAVA_HOME is
> used if it was setup (the environment variable) there when first running
> Eclipse.
> So if you installed it after setting up the JAVA_HOME in the path, it
> automatically finds the JDK in
> JAVA_HOME.
>
> If it was not done in this order, then you can configure a new JVM to be
> used inside Eclipse
> (whenever external java process is invoked).
>
> Regards,
>
> Robert Varga
|
|
|
|
|
Re: Installation problems [message #11172 is a reply to message #5975] |
Wed, 26 November 2003 17:58  |
Eclipse User |
|
|
|
Originally posted by: luiz.almeida.xtremecode.com.br
On my machine, I couldn't install eclipse M3. I got the same error message.
A friend advice me to try install using jdk1.3. I'ts run.
Good luck !!!
"Larry Lin" <skaldl@systex.com.tw> escreveu na mensagem
news:bevtro$ibo$1@eclipse.org...
> I think you could remove .metadata/.plugins/org.eclipse.* of workspace.
> And try it again.
> Good luck.
>
> "Ulf Nordlund" <ulf.nordlund@frobozz.se> ??? news:beq2sq$kh7$1@eclipse.org
> ???...
> > I keep getting this error message when trying to install eclipse 2.1 on
> > Windows XP:
> >
> > "
> > JVM terminated.Exit code = 1.
> > C:\WINDOWS\system32\javaw.exe
> > ..
> > -showsplash C:\eclipse\eclipse.exe -showsplash 600
> > "
> >
> > I have noticed that also others have had this problem, but I cannot find
a
> > solution that works... (I have tried starting it with:
> > ">C:\eclipse\eclipse.exe -vm c:\j2sdk1.4.2\bin\javaw.exe", but that
> > doesn't work either.)
> >
> > Can anyone give me a simple description on what to do?(I am no OS
> > expert.) I would appreciate it very much.
> >
> > BTW: Anyone knows where can I find documentation on eclipse
installation?
> > (Installation documentation seems to be the only area where other
> > IDEs/platforms do better...)
> >
> > Many thanks,
> > /ulf
> >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03675 seconds