views:

1871

answers:

7

On my brand new Windows 7 machine, I downloaded Eclipse (Galileo) and several Eclipse plugins (Android's ADT plugin, Subclipse, etc.)

After rebooting, neither of these plugins are showing up in the IDE (nothing in the preferences, menus, etc.) but if I click "Installation Details" in the 'About Eclipse' popup, I see all of the plugins listed as Installed Software. (ex. Android DDMS 0.9.5, Subclipse 1.6.5, etc.)

How do I get my plugins to work?

A: 

After mucking around for a while, I realized that when I copied the Eclipse directories to program files, I put them under the 64 bit directory, not the 32 bit (x86).. after moving eclipse to the new directory and reinstalling the plugin, it seems to work. Not sure if this is correlation or causation so maybe someone with more expertise can shed some light on this situation.

MobileDev852
A: 

An eclipse under Program Files (and not Program Files (x86)):

  • should be a 64-bit eclipse distro ("Windows (x86_64)")
  • meant to be used with a 64-bit JDK only.
    Actually, you cannot download the 64-bit eclipse distro without having a warning specifying you need a 64-bit JVM:

This build requires a 64-bit JVM, and will not run with a 32-bit JVM.
You can, for example, use the Sun 64-bit 1.5 JVM for AMD64.
Note that the Sun 1.4.2 JVM for AMD64 is 32-bit and therefore cannot be used to run this build.

So: are you sure you have a 64-bit eclipse?
and what java -version returns? (Java HotSpot(TM) 64-Bit Server VM?)

VonC
A: 

First check the Window -> Preferences -> Android exists or not.

If exists, just point the SDK Location to your android sdk location.

If something missing, just Window -> Android SDK And AVD Manager to download all the sdk you needed.

p.s. Just download the new 64bit jdk from sun, file named jdk-6u17-windows-x64.exe.

Cytown
A: 

Moved the Eclipse to X86 and worked Thanks man that was getting annoying

rick
A: 

Hi, i installed eclipse on program files(x86) but im still getting these issues

jonney
+1  A: 

I was getting this problem too. Installing Eclipse 64 bit into C:\Program Files\ and using a 64 bit JVM. For me the problem turned out to be the UAC (User Access Control). Once I turned this off via the control panel & restarted, I was able to install my plugins correctly.

No idea why Eclipse or Windows didn't prompt me in some way. Now to turn it back on after my plugins have installed.

Lee Theobald
Turning off UAC works, but is a little extreme - you can work around this by running Eclipse as Administrator while you're installing plugins.
dalelane
+1  A: 

I installed the following:

First time I tried, I had the same problem as above - no "Android SDK and AVD Manager" in Window menu, and no "Android" item in the Eclipse Window Preferences.

I uninstalled the ADT plugin and closed Eclipse. Then launched Eclipse in Administrator mode. Then I installed ADT, closed and reopened Eclipse as normal, and it worked :D

demoncodemonkey
Thanks very much for this - it was very useful.This is the key - unless you are running it in Administrator mode, the Eclipse installer isn't allowed to write the new plugin files into the Program Files directory. And apparently doesn't notice that it fails to do it, so it thinks it has completed successfully. The plugins aren't really installed unless you've run Eclipse in Administrator mode while installing - that's why they don't work.
dalelane