简体   繁体   中英

Plugins not working in Eclipse on Windows 7 64-bit

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?

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

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.

将Eclipse移到了X86并且工作了感谢烦恼的人

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.

C:\\Program Files\\eclipse -> right click -> Properties -> Security -> Edit -> Add... -> your username -> Full Control -> Apply

While running Eclipse as administrator does work, I found that doing the above to give yourself and normal Eclipse full write access to the folder is far better since you only have to do it once.

我遇到了同样的问题并解决了它在自己的用户定义目录中安装Eclipse,但不在任何系统管理的“C:\\ Program Files”目录中。

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?)

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.

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM