支持java8的eclipse,Eclipse + Java 8支持?

How can I get Java 8 to work with Eclipse?

I have followed this guide but doesn't work. I've also seen the Eclipse Java 8 wiki page, but they don't explain what to do with the checked out git repositories.

解决方案

For Kepler SR2 (4.3.2) a feature patch needs to be installed in order to get JAVA 8 support. Follow these steps:

Eclipse - Help (MENU) > Install New Software...

press 'Enter'

select category 'Eclipse Java 8 Support (for Kepler SR2)'

click 'Next'

click 'Next'

accept the license

click 'Finish'

restart Eclipse when asked

source: link

@Elisabeth

In order to have the desired JRE/ JDK on BuildPath, follow these steps.

Right click on Project from Package Explorer

Select BuildPath and then select Configure Builpath

Select Libraries Tab from the popped up Properties window

Select the current JRE System Library

Click Remove button

Click on Add Library button

Select JRE System Library

There you will be able to add your desired JRE/ JDK version using 3 different methods.

If you don't find your desired version of JRE/ JDK there in those 3 options, then you will have to install that first. The following link helps you in detail with screen shots to do the same. Hope it helps.

source: link

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值