Im upgrading my web application from java 6 to java 8. I'm using a list of jars in my web application. Is there any tool/mechanism available to check whether the lib jars compatible with java 8?
Thanks
Java 8's JVM can run Java 6 code just fine. It's the other direction that's an issue, but running older code on newer JVMs isn't a problem.
Obviously, you'll want to test thoroughly before doing this in production.
Have a look at Compatibility Guide for JDK 8 and Java SE 7 and JDK 7 Compatibility.
Be aware that one of the incompatibilies is that JDBC changed in Java7 and these changes are not backwards compatible. So if you use JDBC in your application then you need upgrade to Java7+ compatible JDBC driver(s).