Eclipse Kepler don’t have built-in support for java8 sdk.So if you run a java8 specific code(lambda expression,default method etc…) in kepler, it will show errors. To solve this problem , you must install java8 support for eclipse kepler plugin. To install java8 support plugin
Go to help and click eclipse market place ,it will open
a new window. In that window type java 8
for kepler
Click the install button belongs to java8 support for eclipse kepler SR2
Check the checkbox and click confirm
Accept the license and click finish.
That’s all. It takes some time to download the plugin. It depends
on the internet speed. After installing eclipse will be restarted. Now you can
run your java8 code without any error
No comments:
Post a Comment