Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Fresh install (Windows 7 eclipse does not start)(get missing required constraint, required bundle .....)
Fresh install (Windows 7 eclipse does not start) [message #840779] Tue, 10 April 2012 13:58 Go to next message
Jean-Marc Serre is currently offline Jean-Marc SerreFriend
Messages: 2
Registered: April 2012
Junior Member
Been using Eclipse for a long time as a java developer.
My PC was upgraded to windows 7. To be more precise my main drive was completely wipe out with a new image.
Started re-installing stuff.
Dowloaded lastest eclipse IDE for JAVA EE Developers eclipse-jee-indigo-SR2-win32-x86_64.zip (v. 3.7.2, build)
Unzipped in C:\Program Files\Eclipse3-7-2-64
Installed 64 bits jdk in C:\Program Files\Java\jdk1.6.0_31

java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode)

Made sure the vm is specified in eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\jdk1.6.0_31\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms40m
-Xmx512m

(tried both with "" or without around the path to javaw.exe e.i. "C:\Program Files\Java\jdk1.6.0_31\bin\javaw.exe" does not seem to make any difference)
Anyway as far as I know this is the only java on my machine since I just installed it before eclipse.
No matter what I do, eclipse does not start, I always get....
(in my Users\<my name>\.eclipse\org.eclipse.platform_3.7.0_1211405066\configuration\

!SESSION 2012-04-10 09:27:39.835 -----------------------------------------------
eclipse.buildId=M20120208-0800
java.version=1.6.0_31
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

!ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2012-04-10 09:27:41.333
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: The bundle "org.eclipse.equinox.p2.reconciler.dropins_1.1.100.v20110815-1419 [289]" could not be resolved. Reason: Missing Constraint: Require-Bundle: org.eclipse.equinox.p2.touchpoint.eclipse; bundle-version="1.0.0"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

I did not touch, change config.ini in any way....

#This configuration file was written by: org.eclipse.equinox.internal.frameworkadmin.equinox.EquinoxFwConfigFileParser
#Thu Feb 16 14:23:43 EST 2012
org.eclipse.update.reconcile=false
eclipse.p2.profile=epp.package.jee
osgi.instance.area.default=@user.home/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.7.2.v20120110-1415.jar
equinox.use.ds=true
eclipse.buildId=M20120208-0800
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110815-1438.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
osgi.framework.extensions=reference\:file\:javax.transaction_1.1.1.v201105210645.jar
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.p2.data.area=@config.dir/../p2
osgi.bundles.defaultStartLevel=4

And there is plenty of stuff in plugins directory like...

org.eclipse.equinox.p2.touchpoint.eclipse_2.1.1.v20110815-1419.jar

Any clue what is going on? (e.g. what am I doing wrong?)

Re: Fresh install (Windows 7 eclipse does not start) [message #840923 is a reply to message #840779] Tue, 10 April 2012 17:25 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
Don't put eclipse in Program Files on Windows 7. Windows places restrictions on this folder that makes running programs difficult.

Make sure that you keep the folder structure intact when you unzip the eclipse zip file. There needs to be a specific directory hierarchy under the root directory for Eclipse to be able to find its components.
Re: Fresh install (Windows 7 eclipse does not start) [message #840963 is a reply to message #840923] Tue, 10 April 2012 18:32 Go to previous messageGo to next message
Jean-Marc Serre is currently offline Jean-Marc SerreFriend
Messages: 2
Registered: April 2012
Junior Member
Thanks for the reply!

I never touched anything in the file srtucture excepting editing eclipse.ini

Here is what worked, I already did wipe out everything and re-did it, just to be sure everything was the same and got the same result. With a colleague we again wiped out everything (including) the .eclipse in my Users/myname folder. We did exactly what you suggested, we did not put it Program Files, and it worked right away! But here is the kicker, after it worked once, I actually put it again at the exact same location and now it works. So why did it not work properly in the first place is still a mystery?

If ever somebody else as a similar problem I would be curious to understand what cause the initial issue.
Re: Fresh install (Windows 7 eclipse does not start) [message #841051 is a reply to message #840963] Tue, 10 April 2012 21:05 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
I would recommend moving Eclipse out of Program Files under Windows 7. It may work now, but there may come a time when you run into a permission problem that again prevents things from working. This can happen when you try to update the software or install new software. Program Files is treated as a special location by Windows 7 and the OS places restrictions on what programs can change in this directory.
Previous Topic:Configure news.eclipse.org in Thunderbird 10
Next Topic:Update Issues on osX
Goto Forum:
  


Current Time: Thu Mar 28 12:54:29 GMT 2024

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

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

Back to the top