当前位置: 代码迷 >> Eclipse >> myeclipse 八 提示 ECLIPSE_HOME is undefined
  详细解决方案

myeclipse 八 提示 ECLIPSE_HOME is undefined

热度:1063   发布时间:2016-04-23 02:09:12.0
myeclipse 8 提示 ECLIPSE_HOME is undefined

???? 前段时间尝鲜安装了myeclipse 8 使用一段时间之后就束之高阁了。

??? ?今天打开之后,所有的myeclipse 编辑器打开文件的时候都提示ECLIPSE_HOME is undefined。查看log日志发现存在以下异常。

??????

!ENTRY org.eclipse.ui 4 0 2010-01-16 07:36:16.890!MESSAGE Unable to create editor ID com.genuitec.eclipse.hibernate.editor.multipage.hibernatemappingeditor: An exception was thrown during initialization!STACK 0com.genuitec.eclipse.core.GenuitecCoreRTException: ECLIPSE_HOME is undefined.	at com.genuitec.eclipse.core.A.?(Unknown Source)	at com.genuitec.eclipse.core.A.?(Unknown Source)	at com.genuitec.eclipse.core.A.?(Unknown Source)	at com.genuitec.eclipse.core.A.ā(Unknown Source)	at com.genuitec.eclipse.core.C.?(Unknown Source)	at com.genuitec.eclipse.core.C.?(Unknown Source)	at com.genuitec.eclipse.core.C.?(Unknown Source)	at com.genuitec.eclipse.core.C.<init>(Unknown Source)	at com.genuitec.eclipse.core.ViperCore.ā(Unknown Source)	at com.genuitec.eclipse.core.ViperCore.?(Unknown Source)	at com.genuitec.eclipse.core.ViperCore.?(Unknown Source)	at com.genuitec.eclipse.core.ViperCore.isLicenseValid(Unknown Source)	at com.genuitec.eclipse.core.vU.?(Unknown Source)	at com.genuitec.eclipse.core.vU.A__111164asdfae2342fa(Unknown Source)	at com.genuitec.eclipse.hibernate.editors.HibernateMappingXMLEditor.init(HibernateMappingXMLEditor.java:18)	at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:798)	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:644)	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)	at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)	at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)	at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)	at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)	at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)	at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)	at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)	at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)	at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)	at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)	at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)	at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)	at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)	at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)	at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)	at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)	at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)	at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)	at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)	at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2676)	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:651)	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:610)	at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:99)	at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:99)	at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:133)	at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:330)	at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:787)	at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:499)	at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)	at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:842)	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)	at org.eclipse.core.runtime.Platform.run(Platform.java:888)	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48)	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)	at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:840)	at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1101)	at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1205)	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:264)	at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:258)	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:298)	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)	at org.eclipse.equinox.launcher.Main.run(Main.java:1311)

?

??? 一顿google之后,关于myeclipse集成安装之后出现这个bug的解决方案很少,官网还上不去,汗!

?? 最终通过翻墙网站到官网,找到了一篇类似的问题,但是全是英文,隐约看到好像是跟授权相关。

?

? 马上又google了一个myeclipse 8 的注册码:

??

LICENSEE=LauChengLICENSE_KEY=YLR8ZC-855550-6765665204902409

?

安装注册码之后,重启myeclipse,问题解决,哦也!

1 楼 grandboy 2010-01-16  
我以前用7.5的时候在使用一段时间之后,发布myeclipse里面只有一个subscription菜单,我以为需要我再次注册呢,不好意思和楼主同道中人,都是D版。结果怎么搞都不行,我重新注册之后,它也告诉我注册成功。就是其他像模任何菜单都不出来。

我昨天想起来又要用,下了一个8, 装上之后还不错。
  相关解决方案