Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse keeps freezing(Eclipse stop responding)
Eclipse keeps freezing [message #546800] Wed, 14 July 2010 09:21 Go to next message
Alex  is currently offline Alex
Messages: 2
Registered: July 2010
Junior Member
Hi,
I have run into some problems with eclipse and hope that someone here can help me.
After installing a JDK (Java 6 Update 21) eclipse freezes when I try to open an java editor.

I've tried the 64bit version of Helios in combination with Java 6
Update 21 (64bit), as well as the 32bits version of Helios in
combination with the 32bit version of the JDK (after uninstalling the
64bit versions), both on the same 64bit Windows 7 computer.
When I force eclipse to close I get the error message:
------------------------------------------------------------ --------------- --------------------------------------------------
Java was started but returned exit code= -805306369
C:\Windows\system32\javaw.exe
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-jar D:\Program
Files\eclipse\plugins/org.eclipse/equinox.launcher_1.1.0.v20 100507.jar
-os win32
-ws win32
-arch x86_64
-showsplash
-launcher D:\Program Files\eclipse\eclipse.exe
-name Eclipse
--launcher.library D:\Program
Files\eclipse\plugins/
org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.0.v2010
0503\eclipse_1307.dll
-startup D:\Program
Files\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20 100507.jar
-exitdata 7c0_58
-product org.eclipse.epp.package.jee.product
-vm C:\Windows\system32\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m
-jar D:\Program
Files\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20 100507.jar
------------------------------------------------------------ --------------- --------------------------------------------------
Re: Eclipse keeps freezing [message #546808 is a reply to message #546800] Wed, 14 July 2010 09:30 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
Alex wrote:
> Hi, I have run into some problems with eclipse and hope that someone
> here can help me. After installing a JDK (Java 6 Update 21) eclipse
> freezes when I try to open an java editor.
The Eclipse launcher for Windows has a problem with the latest
Oracle/Sun Java VM update (java version "1.6.0_21"). You have two
choices to workaround this:

1. switch back to Update 20
2. add the following line after "-vmargs" to your eclipse.ini:
-XX:MaxPermSize=256m

For more details see https://bugs.eclipse.org/bugs/show_bug.cgi?id=319514

Dani
>
> I've tried the 64bit version of Helios in combination with Java 6
> Update 21 (64bit), as well as the 32bits version of Helios in
> combination with the 32bit version of the JDK (after uninstalling the
> 64bit versions), both on the same 64bit Windows 7 computer. When I
> force eclipse to close I get the error message:
> ------------------------------------------------------------
> --------------- --------------------------------------------------
> Java was started but returned exit code= -805306369
> C:\Windows\system32\javaw.exe -Dosgi.requiredJavaVersion=1.5 -Xms40m
> -Xmx512m -jar D:\Program
> Files\eclipse\plugins/org.eclipse/equinox.launcher_1.1.0.v20
> 100507.jar -os win32 -ws win32 -arch x86_64 -showsplash -launcher
> D:\Program Files\eclipse\eclipse.exe -name Eclipse --launcher.library
> D:\Program Files\eclipse\plugins/
> org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.0.v2010
> 0503\eclipse_1307.dll -startup D:\Program
> Files\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20
> 100507.jar -exitdata 7c0_58 -product
> org.eclipse.epp.package.jee.product -vm C:\Windows\system32\javaw.exe
> -vmargs -Dosgi.requiredJavaVersion=1.5 -Xms40m -Xmx512m -jar
> D:\Program
> Files\eclipse\plugins/org.eclipse.equinox.launcher_1.1.0.v20
> 100507.jar
> ------------------------------------------------------------
> --------------- --------------------------------------------------
Re: Eclipse keeps freezing [message #546810 is a reply to message #546800] Wed, 14 July 2010 10:02 Go to previous messageGo to next message
Alex  is currently offline Alex
Messages: 2
Registered: July 2010
Junior Member
Thanks for the quick response.
That seems to work.

Alex
Re: Eclipse keeps freezing [message #645130 is a reply to message #546808] Wed, 15 December 2010 16:36 Go to previous messageGo to next message
Nicholas Cross is currently offline Nicholas Cross
Messages: 1
Registered: December 2010
Junior Member
Hi,
I have had a similar problem (Java was started but returned error code=-805306369) and I have been trying several of the suggested solutions but to no avail. I tried adding the -vmargs lines to my eclipse.ini and that seemed to work for a week or so, and then the problems returned. I then went back to update 20 of jdk1.6.0, but that didn't seem to work. I have since updated to update 22, hoping that the problems had been solved there, but no joy. I have done more searches for a solution. My laptop uses 64bit Windows with Helios 3.61 and there were some suggestions that this was a TexLipse spell check error, and that I should reset it to the defaults, but this made no impact either. There are no errors in the general error log, just warnings.
Re: Eclipse keeps freezing [message #645525 is a reply to message #645130] Fri, 17 December 2010 15:21 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric Rizzo
Messages: 2260
Registered: July 2009
Senior Member
On 12/15/10 11:36 AM, Nicholas Cross wrote:
> Hi, I have had a similar problem (Java was started but returned error
> code=-805306369) and I have been trying several of the suggested
> solutions but to no avail. I tried adding the -vmargs lines to my
> eclipse.ini and that seemed to work for a week or so, and then the
> problems returned. I then went back to update 20 of jdk1.6.0, but that
> didn't seem to work. I have since updated to update 22, hoping that the
> problems had been solved there, but no joy. I have done more searches
> for a solution. My laptop uses 64bit Windows with Helios 3.61 and there
> were some suggestions that this was a TexLipse spell check error, and
> that I should reset it to the defaults, but this made no impact either.
> There are no errors in the general error log, just warnings.

Did you specify the JVM in your eclipse.ini file, as described in
http://wiki.eclipse.org/Eclipse.ini

Eric
Re: Eclipse keeps freezing [message #700164 is a reply to message #645525] Fri, 22 July 2011 23:19 Go to previous messageGo to next message
Mike Fauzy is currently offline Mike Fauzy
Messages: 1
Registered: July 2011
Junior Member
I tried with 64 bit version 24 and it doesn't work. Has anyone gotten a later version to work?

Note that since update 20 is no longer current, it's not on Oracle's regular download page. Instead, you can download it from www.oracle.com/technetwork/java/archive-139210.html
Re: Eclipse keeps freezing [message #701540 is a reply to message #700164] Mon, 25 July 2011 08:15 Go to previous messageGo to next message
Dani Megert is currently offline Dani Megert
Messages: 3801
Registered: July 2009
Senior Member
On 23.07.2011 01:19, Mike Fauzy wrote:
> I tried with 64 bit version 24 and it doesn't work. Has anyone gotten
> a later version to work?
Make sure that Eclipse indeed uses that VM and also verify that you use
64-bit Eclipse. If that is not working then please file a bug as the
problem is not related to what's discussed in this thread.

Dani
>
> Note that since update 20 is no longer current, it's not on Oracle's
> regular download page. Instead, you can download it from
> www.oracle.com/technetwork/java/archive-139210.html
>
Re: Eclipse keeps freezing [message #906531 is a reply to message #546800] Sat, 01 September 2012 19:42 Go to previous messageGo to next message
Ayaskant Swain is currently offline Ayaskant Swain
Messages: 1
Registered: September 2012
Junior Member
I faced this Eclipse hanging issue quite often on my Windows7 64-bit laptop & was clueless about this. I did some R&D on the eclipse process that was running on my laptop along with some search on internet & then did this fix. It resolved the issue for me.

Root cause- When we launch Eclipse by running the eclipse.exe it was picking up the javaw executable that came with Windows7 Lenevo laptop by default. This javaw is not part of the JDK that I installed under Program Files rather can be found under C:\Windows\system32 folder. Since it is in the system path eclipse picks this one instead of the JDK's javaw that I installed at C:\Program Files\Java\jdk1.6.0_22. The default java of windows7 is of version was 1.7.0.

Solution - Right click on your eclipse shortcut(create one if not there already) -> Go to properties. Give the following value in Target box.

"C:\Program Files (x86)\eclipse\eclipse.exe" -vm "C:\Program Files\Java\jdk1.6.0_22\bin\javaw"

Restart Eclipse.

For me this fix resolved the issue as eclipse is now running on JDK_1.6 JVM.
icon10.gif  Re: Eclipse keeps freezing [message #1015233 is a reply to message #906531] Wed, 27 February 2013 20:38 Go to previous messageGo to next message
Lavakumar Baskaran is currently offline Lavakumar Baskaran
Messages: 1
Registered: February 2013
Junior Member
I had this problem on my LENOVO W530/64 bit/Windows 7 machine & none of the solution worked except the below one

1. Uninstall all the 64 bit JDK/JRE
2. Download and Install JDK from www.oracle.com/technetwork/java/archive-139210.html JDK1.6.20 (i586) 32 bit version
3. Download the 32 bit Eclipse
All works fine Razz
Re: Eclipse keeps freezing [message #1404520 is a reply to message #1015233] Sat, 02 August 2014 20:58 Go to previous message
mckayla boyd is currently offline mckayla boyd
Messages: 1
Registered: August 2014
Junior Member
Hi, I'm also having almost the same problem, but when ever I turn my Eclipse on, sometimes it would freeze up on me. This problem started at lest 2 and half month ago, when it freezes I would usually just push the rest button when that doesn't work I would let it die then recharge it again and this method usually workered. But on 8/1/14 it froze and I reset it and it didn't work so I let the eclipse die, but now it freezes up also when charging. It wont charge and resting it doesn't work and have been trying to rest then charge again over and over again for the past two day. What do I do? Someone PLEASE help!!!!
Previous Topic:Programatic way to get the Package Explorer used Working Sets
Next Topic:Kepler: On start up, I no longer get prompted for workspace location
Goto Forum:
  


Current Time: Wed Oct 01 20:28:29 GMT 2014

Powered by FUDForum. Page generated in 0.01923 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software