Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running the 32-bit version of Eclipse, and now that I upgraded to the 64-bit java sdk, eclipse won't run anymore.

Why is this the case, and how can I fix it?

share|improve this question
up vote 1 down vote accepted

Eclipse won't run because Eclipse ships with a native launcher (an executable) which loads and runs the underlying Java runtime. By doing this, the java architecture must match the executable architecture which loads it. The same will be true if your Java code loads any shared native libraries.

Your solution: Get 64bit Eclipse

share|improve this answer
Eclipse also ships with several native libraries, specifically SWT, which add its dependency on architecture. – heavyd Mar 5 '10 at 16:37
@heavyd good point! – basszero Mar 8 '10 at 12:35

You must log in to answer this question.