At the moment i'm migrating an application to java 8. This application id deployes on WAS 8.5.5.9 (Full profile). The application is working fine. Java 8 code is also working. So sar so good. But when I take a closer look to the compiled jsp's I see that they are compiled into java 6. Anyone who knows whats the problem and how I can solve this?
Asked
Active
Viewed 89 times
1
-
You need to look at your build file. What build tool do you use maven/gradle/ant? – randominstanceOfLivingThing Nov 17 '16 at 21:13
-
Using maven. The "Normal" java files are java 8.@randominstanceOfLivingThing – Bgvv1983 Nov 17 '16 at 21:14
-
Most likely http://stackoverflow.com/questions/16723533/how-do-you-specify-the-java-compiler-version-in-a-pom-xml-file will solve your problem. – randominstanceOfLivingThing Nov 17 '16 at 21:15
-
You have `
1.6 ` in your pom.xml file. Please confirm. – randominstanceOfLivingThing Nov 17 '16 at 21:16 -
3Seems like WAS bug: [PI66266: JSP ENGINE CANNOT COMPILE WITH JAVA V8](http://www-01.ibm.com/support/docview.wss?uid=swg1PI66266&myns=swgws&mynp=OCSSEQTP&mync=R&cm_sp=swgws-_-OCSSEQTP-_-R) – Mindaugas Nov 18 '16 at 07:35