<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body 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't be so big
problem for us.<br>
<br>
Vlastimil<br>
<br>
<div class="moz-cite-prefix">On 8.1.2016 13:53, Stian Thorgersen
wrote:<br>
</div>
<blockquote
cite="mid:CAJgngAeb-oL3zvcWLXncMpgGmf4FDhMZsPkCx94erVAp=knhpA@mail.gmail.com"
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 moz-do-not-send="true"
href="https://github.com/jboss/jboss-parent-pom/blob/master/pom.xml#L132">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's time to move on ;)</div>
<div><br>
</div>
<div>I'll update the readme'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"><<a moz-do-not-send="true"
href="mailto:velias@redhat.com" target="_blank">velias@redhat.com</a>></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 moz-do-not-send="true"
href="https://github.com/keycloak/keycloak"
rel="noreferrer" target="_blank">https://github.com/keycloak/keycloak</a>
still states "Ensure you have JDK 7<br>
(or newer)" 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'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>
<!-- maven-compiler-plugin --><br>
<br>
<maven.compiler.target>1.7</maven.compiler.target><br>
<br>
<maven.compiler.source>1.7</maven.compiler.source><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 class="HOEnZb"><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 moz-do-not-send="true"
href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
<a moz-do-not-send="true"
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 class="moz-signature" cols="72">--
Vlastimil Elias
Principal Software Engineer
Developer Portal Engineering Team</pre>
</body>
</html>