Rendering problem (?) in runtime Eclipse application [message #1863446] |
Fri, 02 February 2024 18:54  |
Eclipse User |
|
|
|
I am following the 15 minutes tutorial of Xtext. After I generate Xtext artifacts from the grammar and hit Run As → Eclipse Application, there always seems to be some problem rendering this window, and I cannot see any component there:

I have been running some other EMF projects as Eclipse application but they never had this trouble before.
For your information, I have Eclipse Modeling Tools 2023-12 (4.30.0), with Xtext and Xtend 2.33.0, on an intel chip Mac. I have already tried switching between dark and light mode, restarting Eclipse, restarting my computer, and installing a new Eclipse for Java and DSL Developers instead, but none of them worked out.
Any help or idea is appreciated!
|
|
|
|
Re: Rendering problem (?) in runtime Eclipse application [message #1863478 is a reply to message #1863474] |
Mon, 05 February 2024 00:56   |
Eclipse User |
|
|
|
Thank you Christian for your reply! Indeed my run configurations for Eclipse application had this problematic JDK 17.0.10 as well. It turned out to work after I changed it to 21.0.1.

Interestingly when creating an Xtext project it defaults to JDK 17, but for other EMF projects I had before, the run configurations were automatically set to JDK 21 (which is the default in my system) so they didn't have this trouble before.
Attachment: pic2.png
(Size: 857.00KB, Downloaded 179 times)
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03962 seconds