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

Carlo de Wolf cdewolf at redhat.com
Wed Feb 11 05:50:26 EST 2015


On 02/10/2015 11:03 PM, Tomaž Cerar wrote:
>
> On Tue, Feb 10, 2015 at 10:52 PM, Scott Marlow <smarlow at redhat.com 
> <mailto:smarlow at redhat.com>> wrote:
>
>
>     The Java 8 TCK update is for EE 6, not EE 7.  The EE 7 TCK might
>     also pass with Java 8 (we should try that independent of which
>     Java version we require).
>
> Aha, this is what i was interested in.
> Any chance you can try with JDK8 against current master?
>
>
>         Scott, can you confirm this?
>
>
>     >From the EE 7 platform specification:
>
>     "
>     EE.9.5
>
>     Requirements for All Java EE Profiles
>
>     The Java Platform, Standard Edition 7 is the required foundation
>     for any Java EE 7 profile.
>
> Yes, but that doesn't say that is the only version that is required.
>
> *EE.2.4.1 Container Requirements*
> "This specification requires that containers provide a Java 
> Compatible™ runtime environment, as defined by the Java Platform, 
> Standard Edition, v7 specification (Java SE)."
>
> Which means any Java runtime that is compatible with v7 is fine, and 
> as far as we know 8 is backward compatible, as it provides all v7 does 
> and more.
>
>
>
>
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev
[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... :-)

Carlo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20150211/bd67a57e/attachment-0001.html 


More information about the wildfly-dev mailing list