3

I was running jdk1.7 in my windows 7 laptop .I had to downgrade to jdk 1.6 as my apk builds dint work with jdk 1.7 when it gets published in google play[Note: im using unity game engine to develop].

After downgrading im getting a eclipse crash. I tried updating env variables still no hope. Please find attachment for theerror i get when i run eclipse indigo

OS: windows 7 64 bit

Eclipse : 64 bit

android sdk : 32 bit

Error:

enter image description here

Community
  • 1
  • 1
elixir bash
  • 280
  • 1
  • 4
  • 14
  • Try starting Eclipse from the command line with the `-clean` option: `eclipse -clean`. – Jesper Mar 26 '13 at 13:44
  • 3
    http://stackoverflow.com/questions/4945178/cannot-run-eclipse-jvm-terminated-exit-code-13 – wes Mar 26 '13 at 13:44

1 Answers1

3

Contrary to your statement, your Eclipse is actually a 32-bit variant. See "...win32.x86" in the launcher file name. If it was a 64-bit variant, it would have been "...win32.x86_64".

Eclipse fails to start because 32-bit Eclipse cannot launch on a 64-bit JVM. Either get a 64-bit Eclipse install or install an additional 32-bit JVM and point Eclipse to it use -vm switch in eclipse.ini file.

Konstantin Komissarchik
  • 28,879
  • 6
  • 61
  • 61
  • Hello konstantin, if that is the issue why would it work when i had jdk 1.7? Only after downgrading it to 1.6 it stopped working.Can you figure why that happened? – elixir bash Mar 27 '13 at 07:19
  • Perhaps you had a 32-bit Java 7 VM and then replaced it with a 64-bit Java 6 VM. – Konstantin Komissarchik Mar 27 '13 at 15:36
  • That is strange cos i remember having a 64 bit java!! but anyways my issue is resolved when i switched to 64 bit eclipse.Thank you – elixir bash Mar 29 '13 at 11:33
  • A common cause of 32-bit Java installs on 64-bit Windows is the Java plugin for Web browsers, since most browsers are still 32-bit. It is even possible that you had both 64-bit and 32-bit versions of Java installed due to this (one installed yourself, one installed as part of browser plugin install). – Konstantin Komissarchik Mar 29 '13 at 16:26