Reputation: 41
I tried to start with new JSP hello world program in eclipse neon - which runs in java version 8. I did remember the code was working few days back.
Now,If i run in java web server in local. I see below message
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) Client VM (build 25.121-b13, mixed mode)
'findstr' is not recognized as an internal or external command,
operable program or batch file.
If I try to run thru SAP HCP server, I get below message
Problem during deploymentJava version [8] is not compatible with the currently specified runtime; use runtime neo-java-web 2.x or 3.x
Java version [8] is not compatible with the currently specified runtime; use runtime neo-java-web 2.x or 3.x
Appreciate if any thoughts on how to fix this. Thanks
Upvotes: 0
Views: 337
Reputation: 83547
You should use Java Web Tomcat 7 runtime type in Eclipse with the Java Web Tomcat 7 SDK.
Upvotes: 1