Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDeveloper 12.1.3 and jdk8

Alexandru Jecu-OracleMay 5 2017 — edited May 8 2017

Hi Guys,

I have resorted to this forum in search of a solution. I am using JDeveloper 12.1.3.0.0 which comes with built in WL 12.1.3.0.0. I am trying to use java 8 new features (lambda expressions).

I have installed jdk1.8.0_112, i have modified jdev.conf file to the path where I have installed this jdk8. From what I've read WL 12.1.3 supports jdk8 and also JDeveloper 12.1.3:

Oracle JDeveloper 12c (12.1.3) New Features -> taken from Oracle site.

Java SE 8 Preview While this version of JDevleoper must run with a Java SE 7 JDK, you can add Java SE 8 as a Java SE library (Tools > Manage Libraries, Java SE Definitions tab) and use that to compile and test against. Make sure your target deployment environment supports Java SE 8!

JDeveloper is able to start with it jdk 8 also WL is starting just fine, it compiles and deploys to the built in WL an already built application (using jdk1.7). Everything is OK. But when I'm trying to add some lambdas inside this already existing application..compiler halts and this is the message I am getting:

pastedImage_1.png

If I go to Help -> About it seems fine:

pastedImage_5.png

Do you have any advice? Maybe I am missing something.

Thanks in advance.

This post has been answered by dvohra21 on May 6 2017
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2017
Added on May 5 2017
7 comments
1,845 views