You can use class files from previous JRE / JDKs. Supported forward compatibility. However, you cannot go back (for example, JDK7 to an earlier JRE / JDK). The class file format for JDK7 has changed to reflect things like invokedynamic
.
More details are discussed here .
source share