<div dir="ltr">It&#39;ll probably even run on Java 7 with EAP 6.4 as the particular code above is not in used with older Infinispan versions.</div><div class="gmail_extra"><br><div class="gmail_quote">On 8 January 2016 at 15:01, Vlastimil Elias <span dir="ltr">&lt;<a href="mailto:velias@redhat.com" target="_blank">velias@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Sure thing, I only want to be sure what is going on and if it is
    documented properly. <br>
    Looks like EAP 6.4 can run on Java 8 so it shouldn&#39;t be so big
    problem for us.<span class="HOEnZb"><font color="#888888"><br>
    <br>
    Vlastimil</font></span><div><div class="h5"><br>
    <br>
    <div>On 8.1.2016 13:53, Stian Thorgersen
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Java 8 is now required to build due to switch to
        WildFly 10. The target Java version is inherited from JBoss
        parent (<a href="https://github.com/jboss/jboss-parent-pom/blob/master/pom.xml#L132" target="_blank">https://github.com/jboss/jboss-parent-pom/blob/master/pom.xml#L132</a>).
        <div><br>
        </div>
        <div>Next release (1.8) will require Java 8 on server-side, but
          still support Java 7 on the client-side.</div>
        <div><br>
        </div>
        <div>Oracle stopped supporting Java 7 early last year, so maybe
          it&#39;s time to move on ;)</div>
        <div><br>
        </div>
        <div>I&#39;ll update the readme&#39;s though.</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 8 January 2016 at 13:40, Vlastimil
          Elias <span dir="ltr">&lt;<a href="mailto:velias@redhat.com" target="_blank">velias@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
            <br>
            I rebased my local Keycloak source codes to latest master
            yesterday, and<br>
            got compilation error in<br>
org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider<br>
            class, because of import of classes from java.util.function
            package.<br>
            Investigation shown me that these classes are available in
            Java 8+ only.<br>
            <br>
            Does this mean that next version of Keycloak (1.8) is
            targeted to run on<br>
            Java 8 only?<br>
            <br>
            Is this documented somewhere? Main readme at<br>
            <a href="https://github.com/keycloak/keycloak" rel="noreferrer" target="_blank">https://github.com/keycloak/keycloak</a>
            still states &quot;Ensure you have JDK 7<br>
            (or newer)&quot; in build section. And I was not able to find any
            other info<br>
            about required java version in user doc (eg Installation
            chapter).<br>
            <br>
            And I also realized that Keycloak&#39;s parent pom file (and all
            subprojet<br>
            poms also) miss any information about target java version.<br>
            There was this definition in pom file a year ago, but looks
            like Stian<br>
            removed it 9 months ago:<br>
            <br>
                    &lt;!-- maven-compiler-plugin --&gt;<br>
            <br>
                   
            &lt;maven.compiler.target&gt;1.7&lt;/maven.compiler.target&gt;<br>
            <br>
                   
            &lt;maven.compiler.source&gt;1.7&lt;/maven.compiler.source&gt;<br>
            <br>
            This brings a small problem when importing the project into
            Eclipse, as<br>
            it is not able to correctly set java version for the
            project.<br>
            But maybe there is some reason why this is not in the pom?
            (I can<br>
            imagine that adapters use lower java version than the
            Keycloak server)<br>
            <br>
            Is it possible to clear this somehow, at least in the
            documentation?<br>
            <br>
            Thanks<br>
            <span><font color="#888888"><br>
                Vlastimil<br>
                <br>
                --<br>
                Vlastimil Elias<br>
                Principal Software Engineer<br>
                Developer Portal Engineering Team<br>
                <br>
                <br>
                <br>
                _______________________________________________<br>
                keycloak-dev mailing list<br>
                <a href="mailto:keycloak-dev@lists.jboss.org" target="_blank">keycloak-dev@lists.jboss.org</a><br>
                <a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre cols="72">-- 
Vlastimil Elias
Principal Software Engineer
Developer Portal Engineering Team</pre>
  </div></div></div>

<br>_______________________________________________<br>
keycloak-dev mailing list<br>
<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/keycloak-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br></blockquote></div><br></div>