Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer

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
3  
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.