On Wed, Feb 11, 2015 at 11:50 AM, Carlo de Wolf <cdewolf(a)redhat.com> wrote:
[carlo@palantir tmp]$ /opt/oracle/jdk1.8.0/bin/javac -target 1.8
HelloWorld.java
[carlo@palantir tmp]$ /opt/oracle/jdk1.7.0/bin/java HelloWorld
Exception in thread "main" java.lang.UnsupportedClassVersionError:
HelloWorld : Unsupported major.minor version 52.0
Crock... :-)
Yes my wording was bad, JDK8 supports all JDK7 constructs and more, not
other way around.