Fresh install (Windows 7 eclipse does not start) [message #840779] |
Tue, 10 April 2012 09:58  |
Eclipse User |
|
|
|
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 #841051 is a reply to message #840963] |
Tue, 10 April 2012 17:05  |
Eclipse User |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.52740 seconds