Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse Windows 7 (64) bit Does'nt Start.

 
Aneesh Vijendran
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, ve been banging my head to resolve this issue.

I got a Laptop Installed with 64 Bit Windows 7.

I downloaded the 64 Bit JVM /JDK :

Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

ECLISPE
Downloaded the version: eclipse-SDK-3.5.2RC4-win32-x86_64

Unzipped and when I tried to start it(By clicking on eclipse.exe) get the following errors:

jvm terminated exit code=-1

And lot other as seen in the screenshot. Could somebody please help me, who have already seen this issue?

Cheers
Aneesh

eclipse_error.png
[Thumbnail for eclipse_error.png]
 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok...simple and useful step which i do in these cases.
create a shortcut of the eclipse.exe and in the target give -clean
as a VM arguments and check if you are able to proceed.

cheers,
Saurav
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you sure that c:\java\jre6\bin\client\jmv.dll is the 64-bit version? If not, you can add a -vm entry in eclipse.exe to specify which JVM to use.
 
Aneesh Vijendran
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Saurav/Peter.

Saurav your suggestion doesn't work somehow, I guess it completly ignores the JVM then.

Peter, well I have only one jdk/jre installed and its 64bit for sure.

I am not sue if it has got something to do with the AmD processor.

Anyhow the easiest way which I can think off is:

(1) Try reinstalling JDK

(OR)

(2) download 32 bit jdk and 32 bit eclipse.

I don't really need any 64 bit processing here. Maybe will try someother time when eclipse 64 bit becomes more stable.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just for grins I downloaded the 64-bit Windows version of the new Eclipse beta and it ran fine for me. But other than not having to install a 32-bit JVM into 64-bit Windows, I don't see any advantage to using 64-bit Eclipse.

Peter, well I have only one jdk/jre installed and its 64bit for sure.

Be careful of statements like this. Your browser might be using a 32-bit JRE to run applets since, as far as I know, there is not yet a 64-bit Java plugin for running applets. Look carefully in Programs Files (x86) and in the registry.
 
Aneesh Vijendran
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Finally I solved it by starting the Eclipse this way:

G:\Tools\IDE\eclipse-SDK-3.5-win32-x86_64>eclipse1 -vm C:\Java\jdk1.6.0_18\bin\javaw.exe


Well Peter I was sure that the JRE is 64bit. Windows stopped shipping JRE a few years back & no browsers installs the JRE by default.

When I give java -version in my command prompt it gives:


java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)


It has got something to do with the AMD processor as in the JDK folder(Though still don't understand why)

C:\Java\jdk1.6.0_18\jre\lib\amd64 is a specific folder for AMD with jvm.cfg with the following:

-server KNOWN
-client IGNORE
-hotspot ALIASED_TO -server
-classic WARN
-native ERROR
-green ERROR

Thanks everybody for your suggestions.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic