views:

202

answers:

5

I am having a lot of problem getting Eclipse with Android plug-in to work on Windows 7 64K. I am getting eclipse not responding a lot. It seem to happen pretty randomly. I know that Windows 7 is currently not support for Android SDK.

However has anyone got this to work ?

I am using the following: - Windows 7 64K - eclipse galileo (3.5.2) - JDK 1.6.0_21 64k

A: 

I'm on Windows 7 x64 and have been using it for Android Development. No problem whatsoever. Are you sure its the Android SDK, or is it the Android driver for your phone? Grab all the newest updates, and I put all my files and workspace outside of the users folder. This prevents any chance of permission issue.

LawrenceGS
Thanks Lawrence. I am definitely using the Android SDK. (http://developer.android.com/sdk/index.html). And my workspace is outside user folder. What version of eclipse are you using ?
Sortell
Version: 3.5.2 - Build id: M20100211-1343. Does it crash when you're using AVD? Or even without it?
LawrenceGS
Happens even without it.
Sortell
Maybe its the Eclipse itself, can you list the plugins you have installed?
LawrenceGS
I only installed two plugins. - Android Dalvik Debug Monitor Service- Android SDK
Sortell
A: 

Eclipse is probably hitting the garbage collector a lot. You can check if this is the cause by clicking Show heap status in Preferences | General.

You can try putting -Xmx1024m at the end of your eclipse.ini file. If there is already an -Xmx setting then replace it with that one. That will help keep the GC from pausing the UI so frequently.

Qberticus
I already tried that. The problem still happens.
Sortell
A: 

I'm seeing exactly the same issue, the eclipse ide stops responding frequently and seemingly randomly. Running Windows 7 64-bit, galileo 3.5.2, JDK 1.6.

OB69
Can you get a thread dump? I generate a thread dump using the jvisualvm tool. And I don't see any errors or exceptions in the log file. Do you see the same thing ?
Sortell
A: 

The problem is fixed. This is due to a bug in JDK 1.6.0_21 build 6. The problem is fixed in build 7. Here are related links....

http://www.eclipse.org/forums/index.php?t=msg&th=171988&start=0&

Thanks for everyone's help.

Sortell
A: 

Hi, I am using Eclipse helios 64bits on Windows 7 and it seems that the problem is back with the last JDK : java version "1.6.0_21" Java(TM) SE Runtime Environment (build 1.6.0_21-b06) Java HotSpot(TM) 64-Bit Server VM (build 17.0-b16, mixed mode)

The workaround I used is to use the previous version of the JRE : C:\eclipse-jee-helios-win32-x86_64\eclipse.exe -XX:MaxPermSize=256m -vm "C:\Program Files\Java\jdk1.6.0_20\bin\java.exe"

Jérôme