[wildfly-dev] Moving WildFly 9 to Java 8?

Tomaž Cerar tomaz.cerar at gmail.com
Wed Feb 11 07:34:38 EST 2015


On Wed, Feb 11, 2015 at 11:50 AM, Carlo de Wolf <cdewolf at redhat.com> wrote:

> [carlo at palantir tmp]$ /opt/oracle/jdk1.8.0/bin/javac -target 1.8
> HelloWorld.java
> [carlo at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20150211/a853a0a5/attachment.html 


More information about the wildfly-dev mailing list