spectre spectre - 1 year ago 88
Java Question

Will programs written against "Java 8" JDK be compatible with "Java 7" JREs?

My question is if Java JDK and JREs have to be compatible to run?

I mean: will Java applications written using JDK version 8 in future work with current JRE's?

Answer Source

The short answer is No.

If you develop your application in JDK 8 and run it with JRE 7, you would get an UnsupportedClassVersionError.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download