我在Windows XP(32位)中使用Eclipse(Indigo 3.7.2)。后来我买了新的Windows7(64位)机器。现在我已将所有Eclipse文件夹和子文件夹从我的旧系统复制到我的新系统。
我的问题是将在Windows7系统上运行相同版本的Eclipse吗?如果是,那么所有文件都需要更改。
当前Eclipse.ini看起来像:
-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vm
C:\Program Files\Java\j2re1.4.2_17\bin
-Xms512m
-Xmx2048m
错误日志:
!SESSION 2015-12-01 13:16:44.702 ----------------------------------------------- eclipse.buildId = M20120208-0800 java.version = 1.4.2_17 java.vendor = Sun. Microsystems Inc. BootLoader常量:OS = win32,ARCH = x86,WS = win32, NL = en_AU框架参数:-product org.eclipse.epp.package.jee.product -Xms512m -Xmx2048m命令行 参数:-os win32 -ws win32 -arch x86 -clean -product org.eclipse.epp.package.jee.product -Xms512m -Xmx2048m
!ENTRY org.eclipse.equinox.p2.reconciler.dropins 4 0 2015-12-01 13:16:52.674!MESSAGE FrameworkEvent ERROR!STACK 0 org.osgi.framework.BundleException:捆绑包 “org.eclipse.equinox.p2.reconciler.dropins_1.1.100.v20110815-1419 [293]“无法解决。原因:缺少约束: Import-Package:org.eclipse.equinox.internal.p2.extensionlocation; version =“0.0.0”at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327) 在 org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311) 在 org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323) 在 org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389) 在 org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) 在 org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1) 在 org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) 在 org.eclipse.osgi.framework.eventmgr.EventManager $ EventThread.run(EventManager.java:340)