[forge-dev] Building Forge with Java 8
ggastald at redhat.com
Wed Nov 26 07:06:30 EST 2014
This is still not fixed in later versions of JDK8.
JDK 1.8.0_11 is the last JDK version where forge builds/runs.
I guess one option is that we'll have to make our services derived from the simple service NOT implement the Service interface. This is not required atm, but the javadoc says that it is possible.
However, I think we might run in runtime issues when the addon boots up due to lacking dependencies. That's all I remember from working in this issue
> Em 26/11/2014, às 07:09, Ivan St. Ivanov <ivan.st.ivanov at gmail.com> escreveu:
> Hi everybody,
> As some of you noticed, last night I was able to build and run Forge with the latest early access build of Open JDK 9 (from the Jigsaw forest!). I had to do just one manual workaround. I had to manually add the following dependency to the javaee/impl/pom.xml and shell/impl/pom.xml:
> It was a problem that was already found and documented in this JIRA:
> The JIRA says that this problem occurs with Java 8, build 20. So my question is whether this is fixed in later builds of Java 8. If yes, I will report this to the Open JDK folks to up-port the fix to Java 9 as well. If not, I guess we should fix the poms of the respective projects?
> P.S. Sorry for the 'lazy web' style of message. I know I could have run the build with newer Java 8 by myself :)
> P.P.S. Thanks to Mani Sarkar from LJC that went the hard way last week and found this workaround for me
> forge-dev mailing list
> forge-dev at lists.jboss.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the forge-dev