Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext version working with Java 11
Xtext version working with Java 11 [message #1798974] Wed, 28 November 2018 08:52 Go to next message
Dominik Leszyk is currently offline Dominik LeszykFriend
Messages: 22
Registered: December 2013
Junior Member
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 09:01 Go to previous messageGo to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

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 09:21 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
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

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Xtext version working with Java 11 [message #1798980 is a reply to message #1798979] Wed, 28 November 2018 09:31 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
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 15:51 Go to previous messageGo to next message
Dominik Leszyk is currently offline Dominik LeszykFriend
Messages: 22
Registered: December 2013
Junior Member
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 16:56 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Its in the sonatype oss snapshots repo

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Most convenient way to include third party dependencies
Next Topic:Formatting keywords
Goto Forum:
  


Current Time: Fri Apr 19 21:44:36 GMT 2024

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

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

Back to the top