从 eclipse 官网下载最新的 eclipse 软件安装,安装软件前还要安装 Java 软件 JDK ,否则 eclipse 无法正常安装。安装完成后我们要把 GNU MCU ECLIPSE 插件安装。 eclipse下载地址 https://download.eclipse.org/ java软件JDK下载地址 https://www.oracle.com/technetwork/java/javase/downloads/jdk13-downloads-5672538.html 下载最新的软件安装就可以了 。 选择 eclipse marketplace 可以在 search 中输入 GNU MCU 搜索 insert安装就可以了 也可以在help 里选择 install new software 然后选择 add 添加ADD location:http://gnu-mcu-eclipse.netlify.com/v4-neon-updates这是eclipse插件地址 然后根据需要添加就可以了 我这里只选择了risc-v 。根据软件提示完成插件的安装,直到软件能正常重启。 我电脑里安装的还要quartus ii 软件 里面包含了eclipse mars ii 软件 本来我打算直接在里面添加插件,但是插件安装再最后重启时就会报错 !SESSION 2019-10-12 13:04:20.990 ----------------------------------------------- eclipse.buildId=4.5.2.M20160212-1500 java.version=1.8.0_05 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.cpp.product -pluginCustomization C:/intelfpga/18.1/nios2eds/bin/eclipse_nios2/plugin_customization.ini Command-line arguments: -data file:******/sbt4e-18.1-workspace/ -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product -pluginCustomization C:/intelfpga/18.1/nios2eds/bin/eclipse_nios2/plugin_customization.ini !ENTRY org.eclipse.osgi 4 0 2019-10-12 13:04:24.687 !MESSAGE Application error !STACK 1 java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.cdt.codan.core.application, org.eclipse.cdt.core.GeneratePDOM, org.eclipse.cdt.managedbuilder.core.headlessbuild, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool. at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248) at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608) at org.eclipse.equinox.launcher.Main.run(Main.java:1515) at org.eclipse.equinox.launcher.Main.main(Main.java:1488) 总之这个日志查找了好多网上教程也没有解决。其实在https://gnu-mcu-eclipse.github.io/plugins/install/这个网站上提供了详细的安装说明,但是我也没能解决。如果谁有好的解决办法还请多指教,谢谢。