Eclipse RCP开发记要

本文介绍了Eclipse RCP开发中的一些基础概念、调试方法及如何引用外部库,并针对RCP调试过程中出现的异常提供了具体的解决方案。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Eclipse RCP开发学习——一些基础概念

 

Eclipse RCP开发学习——学习资源收集

 

Eclipse version: Indigo

1. RCP 调试方法:

plugin.xml -> Overview 界面 -> Testing 区域下的 Launch an Eclipse application in Debug mode

plugin.xml -> 任何界面 -> 标题栏右侧的 debug 图标 -> Launch an Eclipse application in Debug mode

 

2. RCP 引用外部lib:

plugin.xml -> Runtime 界面 -> Classpath 区域下进行编辑

 

3. RCP调试时异常:

!MESSAGE An error occurred while automatically activating bundle org.eclipse.ui.workbench (141).
!STACK 0
org.osgi.framework.BundleException: The activator org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench is invalid
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:171)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:679)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)

...

解决:JDK改用1.6就OK了。

 

 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值