Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Can't start Eclipse under XP x64
Can't start Eclipse under XP x64 [message #221162] Thu, 12 July 2007 15:01 Go to next message
Eclipse UserFriend
Originally posted by: geo.loyola.edu

Hi, folks, new registrant here.

Have spent many a happy hour using Eclipse under XP Professional Version
2002 SP2. Got a new machine with Intel Xeon 5160 CPU running XP
Professional x64 Edition Version 2003 SP2.

I installed java version "1.6.0_02," SE Runtime Environment (build
1.6.0_02-b05), Java Hotspot 64-bit Server VM (build 1.6.0_02-b05, mixed
mode). and Eclipse Europa. Couldn't start Eclipse. Registered and read
this newsgroup to date. So here's my story....

My eclipse.ini files is, verbatim:

-showsplash
org.eclipse.platform

--launcher.XXMaxPermSize

128M

-vm

C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe

-vmargs

-Xms40m

-Xmx512m



When I double-click on the Eclipse icon, I get no splash screen at all but
an Eclipse dialog box with the following:

JVM terminated. Exit code=13

C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe

-Xms40m

-Xmx512m

-XX:MaxPermSize=128M

-jar C:\Program
Files(x85)\eclipse\plugins\org.exclipse.equinox.launcher_1.0 .0.v20070606.jar

-os win32

-ws win32

-arch x86

-showsplash

-launcher c:\Program Files (x86)\eclipse\eclipse.exe

-name Eclipse

--launcher.library C:\Program Files
(x86)\eclipse\plugins\org.eclipse.equinox.launcher.win32.win 32.x86_1.0.0.v20070523\eclipse_1017a.dll

-startup C:\Program Files
(x86)\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20 070606.jar

-exitdata a74_e0

-vm C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe

-vmargs

-Xms50m

-Xmx512m

-XX:MaxPermSize=128M

-jar c:\Program Files
(x86)\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20 070606.jar

I have the following environment variables (among others) defined:

CLASSPATH=.;%J2EE_PATH%

J2EE_HOME=C:\Sun\SDK

J2EE_PATH=%J2EE_HOME%\lib\j2ee.jar

JAVA_HOME=C:\Program Files\Java\jre1.6.0_02

Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem ;%JAVA_HOME%\bin;%J2EE_HOME%\bin

PROCESSOR_ARCHITECTURE=AMD64

Naturally, the Eclipse dialog box makes me suspicious of items that refer to
win32 and x86, but I haven't figured out where these come from. Any advice
welcome!
Re: Can't start Eclipse under XP x64 [message #221272 is a reply to message #221162] Fri, 13 July 2007 00:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

George Wright wrote:
> Hi, folks, new registrant here.
>
> Have spent many a happy hour using Eclipse under XP Professional Version
> 2002 SP2. Got a new machine with Intel Xeon 5160 CPU running XP
> Professional x64 Edition Version 2003 SP2.
>
> I installed java version "1.6.0_02," SE Runtime Environment (build
> 1.6.0_02-b05), Java Hotspot 64-bit Server VM (build 1.6.0_02-b05, mixed
> mode). and Eclipse Europa. Couldn't start Eclipse. Registered and read
> this newsgroup to date. So here's my story....
>

There isn't a 64bit version of Eclipse release for Windows yet, so you
most likely downloaded the 32 bit version. I believe that this will run
under 64bit XP if you use a 32bit jdk instead of the 64bit one you have
downloaded.

> My eclipse.ini files is, verbatim:
>
> -showsplash
> org.eclipse.platform
>
> --launcher.XXMaxPermSize
>
> 128M
>
> -vm
>
> C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe
>
> -vmargs
>
> -Xms40m
>
> -Xmx512m
>
>
>
> When I double-click on the Eclipse icon, I get no splash screen at all but
> an Eclipse dialog box with the following:
>
> JVM terminated. Exit code=13
>
> C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe
>
> -Xms40m
>
> -Xmx512m
>
> -XX:MaxPermSize=128M
>
> -jar C:\Program
> Files(x85)\eclipse\plugins\org.exclipse.equinox.launcher_1.0 .0.v20070606.jar
>
> -os win32
>
> -ws win32
>
> -arch x86
>
> -showsplash
>
> -launcher c:\Program Files (x86)\eclipse\eclipse.exe
>
> -name Eclipse
>
> --launcher.library C:\Program Files
> (x86)\eclipse\plugins\org.eclipse.equinox.launcher.win32.win 32.x86_1.0.0.v20070523\eclipse_1017a.dll
>
> -startup C:\Program Files
> (x86)\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20 070606.jar
>
> -exitdata a74_e0
>
> -vm C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe
>
> -vmargs
>
> -Xms50m
>
> -Xmx512m
>
> -XX:MaxPermSize=128M
>
> -jar c:\Program Files
> (x86)\eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20 070606.jar
>
> I have the following environment variables (among others) defined:
>
> CLASSPATH=.;%J2EE_PATH%
>
> J2EE_HOME=C:\Sun\SDK
>
> J2EE_PATH=%J2EE_HOME%\lib\j2ee.jar
>
> JAVA_HOME=C:\Program Files\Java\jre1.6.0_02
>
> Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem ;%JAVA_HOME%\bin;%J2EE_HOME%\bin
>
> PROCESSOR_ARCHITECTURE=AMD64
>
> Naturally, the Eclipse dialog box makes me suspicious of items that refer to
> win32 and x86, but I haven't figured out where these come from. Any advice
> welcome!
>
>
>
>
>
>
Re: Can't start Eclipse under XP x64 [message #221443 is a reply to message #221272] Fri, 13 July 2007 18:29 Go to previous message
Eclipse UserFriend
Originally posted by: geo.loyola.edu

"David Wegener" <wegener@cboenospam.com> wrote in message
news:f76h0t$6jv$1@build.eclipse.org...
> George Wright wrote:
[...]
>> I installed java version "1.6.0_02," SE Runtime Environment (build
>> 1.6.0_02-b05), Java Hotspot 64-bit Server VM (build 1.6.0_02-b05, mixed
>> mode). and Eclipse Europa. Couldn't start Eclipse. Registered and read
>> this newsgroup to date. So here's my story....
>>
>
> There isn't a 64bit version of Eclipse release for Windows yet, so you
> most likely downloaded the 32 bit version. I believe that this will run
> under 64bit XP if you use a 32bit jdk instead of the 64bit one you have
> downloaded.

Thanks, David. Your advice did the trick. I downloaded
jdk-6u2-windows-i586-p.exe. This installer was smart enough to install into
"Program Files (x86)" (vice "Program Files").

[...]
>
>> My eclipse.ini files is, verbatim:
>>
[...]
>> -vm
>> C:\Program Files\Java\jre1.6.0_02\bin\javaw.exe

I changed this to C:\Program Files (x86)\Java\jre1.6.0_02\bin\javaw.exe,
double-clicked on the Eclipse icon, and all was well.

Thanks again, David.
Previous Topic:question about jars and project output
Next Topic:Class Diagrams in Eclipse
Goto Forum:
  


Current Time: Fri Apr 26 19:39:43 GMT 2024

Powered by FUDForum. Page generated in 0.08238 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top