I can not get TomEE 7.0.4 to work with java 9 and 10.
TomEE 7.0.4 does not work with java 9 and 10.
I think I understand that it is necessary to configure catalina.bat (I use windows).
If I understood correctly, it all depends on the modules of jdk 9.
I'm going crazy in finding a solution.
To please help me to understand how to configure TomEE (catalina.bat or other)?
TomEE up to version 7.0.4 won't work with Java 9/10. This is due to the use of org.apache.xbean.asm5 classes in the bundled OWB jars. The TomEE team is working hard to resolve these issues, has integrated ASM 6.1 already and the upcoming release of TomEE 7.0.5 will thus be compatible with Java 9/10.
So, you have to stick with Java 8 for a while until TomEE 7.0.5 has been released and is available for download. Check this link in the next weeks for updates.
Hope it helps.
UPDATE:
On July 23rd, TomEE 7.0.5 was released. It runs fine with Java 9 and 10. I tested it on all three major OS platforms. Check the download link above for the release artifacts.
Related
I was given guidance that it would be jdk.1.8.0_31. However, Googling this jdk did not bring up any results. How could I be certain, and where can I find the download? The newest jdk (17.0.2) will not work with it.
For Groovy 2.4 and below I would stick to java 8, I thinks there were some issues with java 11, some fixed in Groovy 2.5, but you will still see warnings. For Grails 5+, Groovy 3 I would go for java 11. I think better support for Java 17 is coming for Groovy 4.
Grails 3.2.4 uses groovy 2.4.7
Grails 4 uses groovy 2.5.6
Grails 5 uses Groovy 3
Groovy 4 is coming "soon" so it's not in Grails yet
Grails 3 is already EOL so I would get on upgrading.
https://objectpartners.com/2015/05/14/list-of-groovy-versions-for-each-version-of-grails/
https://grails.org/blog/2021-01-22-grails-exciting-updates.html#:~:text=Grails%20Framework%20EOL%20Schedule&text=Grails%202%20will%20be%20EOL,EOL%20after%20September%2030th%2C%202021.
https://docs.grails.org/latest/guide/single.html#dependencyUpgrades
You can find and download that build version of jdk 1.8.0_31 here : https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html
It should work with grails 3.2.4.
Grails 3 works with more advanced builds versions of java 8 and more recent versions of java too like java 11.
According to the Grails 3.2.4 guide, Java 7 and above should work.
If you really can't use Java 17, the latest long-term support version, I'd recommend Java 11, the previous long-term support version. You can find downloads for all currently-supported versions of Java here.
I wanted to migrate from JBOSS EAP to a Wildfly version which supports older versions of Java like 6 or 5.
I can't find a compatibility matrix with wild fly and java.
What about wildfly 8 ? does it supports java older versions.
can someone point me to the matrix where I can find wildfly compatibility with Java
Thanks
This is the closest thing to a compatibility matrix I can find. Which has a separate chart for both Wildfly and JBoss EAP:
Choosing the right JDK for WildFly and JBoss EAP 7
It's obviously not official, but something is better than nothing.
My application is based on Eclipse 3.8, and I'd like to know if it will run over Java.
I'm not using a newer version because it has performance issues. From my experience, Eclipse 3.8 is a lot faster compared to any newer versions of Eclipse.
Does someone know something about this?
UPDATE: The previous title may suggest that I want Eclipse 3.8 to be able to support the new features of Java 9. But, I really just want to know if I'll be able to run the application over Java 9 JRE.
Yes it works, but only with a small patch.
It fails because the org.eclipse.osgi bundle of Eclipse 3.8 (Juno) has no runtime profiles for Java 8 or Java 9. If you add those it works for me.
I made successful tests with an RCP-based app on target plattform 3.8.2 (http://archive.eclipse.org/eclipse/downloads/drops/R-3.8.2-201301310800/) running under Java 9 Oracle JVM under Windows 7.
What to do:
You have to patch the org.eclipse.osgi bundle:
strip signing information
manually add an entry for the Java 9 Runtime Enironment in the profile.list of the bundle and add a JavaSE-1.9.profile definition
E.g.: https://github.com/derWallace/org.eclipse.osgi
But no guarantees that this is a good deal for production!
No. Oxygen (4.7) and newer only is what's planned. If your performance findings are verifiable and repeatable, file bug reports about them.
My current project is built on Java 6. I'm thinking of upgrading it to Java 8.
Here is the details of the build.properties
xdoclet.home=D:/**/xdoclet-1.2.3
jboss.deploy.dir=D:/**/jboss-6.1.0.Final
application.dir=D:/**/**/cal
middlegen.home=D:/**/middlegen-2.0-b1
compiler.home=C:/Program Files/Java/jdk1.6.0_24/bin/javac .
I've tried building the project on JDK 8 and it is building successfully.
I know that I have to upgrade every libraries so that it can work with JDK 8.
How can I make sure about the dependencies to be correct as there are so many jars? And also Do I have to change my Jboss Application Server to Wildfly Application Server as Jboss AS 7 doesn't support JDK 8?
Please suggest how to approach. Any help appreciated.
And also let me know if it's better to build the project from Scratch in JDK 8 than upgrading it to JDK 8.
1) If you need to use jdk8 than you have to switch too the newer jboss.
2) It is not required to updated all jar's since jdk8 can run older jars
it there is no compatibility problem.
3) If you already have an large probject it is faster to keep it.
4) You can review your code and use the new java 8 features like "<>" and "try()"
For more qualified answer your question is to unspecific.
I would like to suggest you to update JBOSS 6 to wildfly 8 if there is a change required for the updation of JDK 6 to JDK 8.
But there is some other way!!! you can run your JBOSS 6 externally and add the the project.war file in JBOSS>>standalone>>deployment.
For Upgrade of JDK 8,i would suggest to go through JDK 8 feature and see where you can implement the new feature of java in your source code and have a mock testing class for the same.Make sure you have a mock project as it is the good practice for the enhancement of the project.
I am looking which version is latest and from where to download it.I know the already answered link Where to Download java-ee.jar? but here I am looking > 7.0 version
Java EE 7.0 is the latest version of Java EE. You won't find Java EE 8.0 API jar files1, 2 because the Java EE 8.0 JSR has not been finalized yet.
1 - At this point in time, you can possibly obtain API jars if you have contacts with "inside knowledge". However those jars aren't definitive at this point in time.
2 - Obviously, this answer will be incorrect at some point in the future. Maybe Q3 2016 if they stick to the proposed timeline.
You can see all the versions here and download which ever you want.
For now the latest is 7.0 . You can find links in thread you linked.
Or to add dependancy:
http://search.maven.org/#artifactdetails%7Cjavax%7Cjavaee-api%7C7.0%7Cjar