Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Xtext version working with Java 11
Xtext version working with Java 11 [message #1798974] Wed, 28 November 2018 03:52 Go to next message
Eclipse UserFriend
Hi,

Is there a version of xtext working with OpenJDK 11?

I tried with xtext 2.15 (released in September) but it seems not to support it yet. There is an exception coming from org.objectweb.asm library which doesn't understand java 11 (Unsupported class file major version 55).

Is xtext 2.16 going to be compatible with OpenJDK11? What is planned release date?

Thank You!

Cheers,
Dominik
Re: Xtext version working with Java 11 [message #1798976 is a reply to message #1798974] Wed, 28 November 2018 04:01 Go to previous messageGo to next message
Eclipse UserFriend
You should be able to run Xtext 2.16 on Java 11 if you target for a lower version. Full J11 support is targeted for 2.17. We depend on too many components that are not all fully J11 supporting yet, and 2.16 release is already next week Dec 4th.
You can try to use the latest milestone 2.16.0.M3, which has been released monday. Feedback welcome. For the release, we will accept patches for bugs, but don't work on features anymore.
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/milestones/
Re: Xtext version working with Java 11 [message #1798979 is a reply to message #1798976] Wed, 28 November 2018 04:21 Go to previous messageGo to next message
Eclipse UserFriend
for full support we are still waiting for a maven consumable version of jdt that has support for java 11 which is not there yet
Re: Xtext version working with Java 11 [message #1798980 is a reply to message #1798979] Wed, 28 November 2018 04:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi

I have performed a successful Eclipse OCL build and test using Java 11. This includes Xtext editors and some fairly trivial automated edits that demonstrate that there is a plausible user editing experience available.

The latest platform builds have switched to ASM 7. Perhaps that is your problem.

Regards

Ed Willink
Re: Xtext version working with Java 11 [message #1799008 is a reply to message #1798980] Wed, 28 November 2018 10:51 Go to previous messageGo to next message
Eclipse UserFriend
Thanks! Indeed switch to 2.16.0.M3 enabled me to compile my projects under OpenJDK 11.
I have still some problems but these seems on my side.

One thing I needed to do was to disable web module - xtext.xbase.web 2.16.0.M3 depends on SNAPSHOT version of org.eclipse.lsp4j. Is there a repository that I could get it from? (I guess Maven Cental doesn't keep snapshots).

Cheers,
Dominik
Re: Xtext version working with Java 11 [message #1799016 is a reply to message #1799008] Wed, 28 November 2018 11:56 Go to previous message
Eclipse UserFriend
Its in the sonatype oss snapshots repo
Previous Topic:Most convenient way to include third party dependencies
Next Topic:Formatting keywords
Goto Forum:
  


Current Time: Fri Jun 13 10:34:09 EDT 2025

Powered by FUDForum. Page generated in 0.03888 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top