塞巴斯蒂安 发表于 2021-12-4 23:36:16

Windows开发环境IDE eclipse 插件安装

本帖最后由 塞巴斯蒂安 于 2021-12-4 23:35 编辑

《RISC-V架构与嵌入式开发快速入门》Windows开发环境IDE eclipse 插件安装
从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/这个网站上提供了详细的安装说明,但是我也没能解决。
如果谁有好的解决办法还请多指教,谢谢。


页: [1]
查看完整版本: Windows开发环境IDE eclipse 插件安装