-
1. Re: AS 7 on Java 8
nickarls Apr 15, 2013 1:42 AM (in response to paulf70)If you have to migrate 2-300k-lines of code when switching java versions, you are doing something wrong
-
2. Re: AS 7 on Java 8
wdfink Apr 15, 2013 3:59 AM (in response to paulf70)Applications compiled with Java7 should work with Java8.
AS7 run with java8, I havn't seen problems.
But why you mean to have lot's of changes? and what is the "FP feature"
-
3. Re: AS 7 on Java 8
nickarls Apr 15, 2013 4:30 AM (in response to wdfink)FP = Functional Programming = Lambda, guessing.
-
4. Re: AS 7 on Java 8
paulf70 Apr 15, 2013 9:22 AM (in response to nickarls)You mean like using Java 8 features extensively?
As you noted in your 2nd post - yeah, we plan to make *extensive* use of lambdas and the other FP features of the language.
Of course, you can "do" these things in <8, clumsily and verbosely. It's *that* code I don't want to have to rewrite in Java 8 style. (Although, if one was careful with conventions, and even if not, you could write a tool or script to do it.)
I'm glad nobody said "you can't do it"; I plan to deploy an app to AS7 running on JDK 8 today.
-
5. Re: AS 7 on Java 8
wdfink Apr 15, 2013 9:37 AM (in response to paulf70)It's possible,
but the risk is that you might run into issues and you have to figure out that the issue is the same if you use AS7 with Java7.
That can be difficult if your app-logic is complex.
-
6. Re: AS 7 on Java 8
paulf70 Apr 15, 2013 12:38 PM (in response to paulf70)Well, FYI, the server starts fine, the console works fine, and all of the quickstart samples I've built & deployed so far work fine. Full speed ahead! JDK 1.8 should be in production long before we are.
-
7. Re: AS 7 on Java 8
charlesjg Oct 30, 2013 6:02 AM (in response to paulf70)Hello there,
I am trying to run and ejb 3 / jpa 2 application run in EAP 6.1 with the JDK 8.
The server dont want to start...
>> 11:00:47,235 INFO [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss EAP 6.1.0.GA (AS 7.2.0.Final-redhat-8) starting
and it stops here. Is it normal ?
infos:
------
JBoss Bootstrap Environment
JBOSS_HOME: C:\devtools\jboss-eap-6.1
JAVA: C:\Program Files\Java\jdk1.8.0\bin\java
-
8. Re: AS 7 on Java 8
ctomc Oct 30, 2013 6:17 AM (in response to charlesjg)1 of 1 people found this helpfulYes it is normal.
There have been some changes in JDK8 that prevent AS7 and current version of EAP6 to start under JDK8.
We have many JDK8 related fixes in WildFly so I would recommend you to use that.
As for EAP goes, the start up on JDK8 is fixed in upcoming 6.2 release.
So in short, I would be more then welcome if people would test WildFly on JDK8 as we are working on making whole testsuite pass on it.
--
tomaz
-
9. Re: AS 7 on Java 8
nayabinghi Apr 22, 2014 8:49 AM (in response to ctomc)Hello Tomaz,
JDK8 prevents AS 7.1.1 startup in my environment. Seems to be related to this discussion. Can you confirm?
-
10. Re: AS 7 on Java 8
ctomc Apr 22, 2014 9:20 AM (in response to nayabinghi)Mohamed King wrote:
Hello Tomaz,
JDK8 prevents AS 7.1.1 startup in my environment. Seems to be related to this discussion. Can you confirm?
Yes I can confirm, AS7.1.1 wont start on JDK8.
-
11. Re: AS 7 on Java 8
nayabinghi Apr 22, 2014 3:43 PM (in response to ctomc)Tomaz,
Thanks for the confirmation.
-
12. Re: AS 7 on Java 8
nayabinghi May 5, 2014 9:02 AM (in response to ctomc)Tomaz,
This is a different topic but wanted to ask if you had any idea what happened to the functionality for adding virtual hosts from the UI. I opened a post at Adding virtual hosts in WildFly Admin GUI/Console on this. In AS 7 we were able to add virtual hosts from the UI.
-
13. Re: AS 7 on Java 8
croco Apr 8, 2015 4:28 AM (in response to ctomc)Is there any (relatively simple) way to make the latest community AS7 work with JDK8 or is there too much to change in the code?
-
14. Re: AS 7 on Java 8
ctomc Apr 8, 2015 6:18 AM (in response to croco)1 of 1 people found this helpfulAny big reason you cannot upgrade to WildFly 8?
Core issue that prevents boot of AS7 on JDK8 is https://issues.jboss.org/browse/WFLY-2057
which was fixed by https://github.com/wildfly/wildfly/commit/fa93ceff49c3e84851cb8b00157e4fbed1d2cdb7
You could apply this commit to https://github.com/wildfly/wildfly/releases/tag/7.2.0.Final-testsuite-fix tag and rebuild it.
but, this will only make sure server starts on JDK8, there ware handful of other fixes / changes that we needed to address to make sure testsuite passes properly.
In any case, i would recommend you to go with WildFly 8.2.0.Final.