Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse hangs - tried everything in sticky
Eclipse hangs - tried everything in sticky [message #1715966] Sun, 29 November 2015 16:50 Go to next message
Mike Pope is currently offline Mike PopeFriend
Messages: 4
Registered: November 2015
Junior Member
I am running Windows 7 professional sp 1 64 bit

Installed 32bit JDK .... jdk1.8.0_65
and JRE ..... jre1.8.0_65

tested java with -d32 and -d64 and works only with -d32.

downloaded... eclipse-jee-mars-1-win32 and used 7zip to unzip.

Tried multiple PATH variables currently have this as the first entry in the variable...
C:\Program Files (x86)\Java\jdk1.8.0_65\bin;

When I try to start eclipse.exe it hangs. My windows explorer session will hang and I must reboot to get it to stop. It will not end in task manager. Same thing if I initiate it through a command prompt.. the prompt session hangs and task manager can't end. I must reboot.

Any ideas?

Thanks
Re: Eclipse hangs - tried everything in sticky [message #1715970 is a reply to message #1715966] Sun, 29 November 2015 20:36 Go to previous messageGo to next message
Mike Pope is currently offline Mike PopeFriend
Messages: 4
Registered: November 2015
Junior Member
Correction... I am able to end my windows explorer session. The command prompt session cannot be ended.

Here is my eclipse.ini

-vm
C:\Program Files (x86)\Java\jdk1.8.0_65\bin\javaw
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m


I'm also running windows xp on another machine and have downloaded and installed the java7 32 bit jdk with the same eclipse zip file as on this machine. That environment is running fine. My understanding is that as long as I run both a 32 bit Java environment and a 32 bit eclipse on my 64bit machine, that all should work fine. I've got to be missing something simple and obvious.

[Updated on: Sun, 29 November 2015 20:43]

Report message to a moderator

Re: Eclipse hangs - tried everything in sticky [message #1715972 is a reply to message #1715970] Mon, 30 November 2015 02:44 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3503
Registered: July 2009
Senior Member

Have you tried specifying the VM with the actual file name: javaw.exe ? Where did you unzip the Eclipse zip file on both machines?

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse hangs - tried everything in sticky [message #1715976 is a reply to message #1715972] Mon, 30 November 2015 03:12 Go to previous messageGo to next message
Mike Pope is currently offline Mike PopeFriend
Messages: 4
Registered: November 2015
Junior Member
Thanks for looking at it.

I'm assuming you mean to just add the .exe extension to the existing path to javaw.

Revised .ini file

-vm
C:\Program Files (x86)\Java\jdk1.8.0_65\bin\javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms256m
-Xmx1024m

Problem still exists.

Eclipse on both machines were downloaded and extracted to a throw away directory and the eclipse folder copied to the Program Files (x86 ) folder on this machine and Program Files on the xp machine.

Re: Eclipse hangs - tried everything in sticky [message #1716249 is a reply to message #1715976] Wed, 02 December 2015 13:29 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
You did not read the eclipse.ini instructions closely enough (I just edited the wiki page to hopefully avoid that mistake by other readers). The -vm option and its value must appear after the other launcher options and right before the -vmargs options. Follow the wiki page example more precisely.
Re: Eclipse hangs - tried everything in sticky [message #1718924 is a reply to message #1716249] Sat, 02 January 2016 17:27 Go to previous messageGo to next message
Mike Pope is currently offline Mike PopeFriend
Messages: 4
Registered: November 2015
Junior Member
Thank you very much for looking at this.

I should have pasted my original configuration which was as you point out. I moved things around hoping to find the problem.

I have put my .ini file back as you suggest. But my install will still not start.

Thanks
Mike
Re: Eclipse hangs - tried everything in sticky [message #1718942 is a reply to message #1718924] Sun, 03 January 2016 05:30 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3503
Registered: July 2009
Senior Member

Don't put it under the Program Files directory, even if your user is part of the Administrators group. File permissions and behaviors are strange there. Put it under your home directory or another drive and directory your user completely owns.

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Eclipse hangs - tried everything in sticky [message #1718963 is a reply to message #1718924] Mon, 04 January 2016 02:24 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
Mike Pope wrote on Sat, 02 January 2016 17:27
Thank you very much for looking at this.

I should have pasted my original configuration which was as you point out. I moved things around hoping to find the problem.

I have put my .ini file back as you suggest. But my install will still not start.

Thanks
Mike

Show us the eclipse.ini now.
Another option is to use the Eclipse Installer (available from www.eclipse.org/downloads) which on Windows does a good job of locating and using the correct JVM.
Previous Topic:Eclipse Local Terminal
Next Topic:File input chooser
Goto Forum:
  


Current Time: Sun Sep 22 08:01:50 GMT 2019

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

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

Back to the top