This week's book giveaway is in the Go forum.
We're giving away four copies of Head First Go and have Jay McGavren on-line!
See this thread for details.
Win a copy of Head First Go this week in the Go forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Devaka Cooray
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Tim Holloway
  • Claude Moore
  • Stephan van Hulst
Bartenders:
  • Winston Gutkowski
  • Carey Brown
  • Frits Walraven

problems with FXMLLoader | openjfx and openjdk11  RSS feed

 
Greenhorn
Posts: 21
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, i'm trying to use openjdk11 and openjfx in my project. it works fine until i try using .fxml files.
thank you for upcomming answers!

i get this stacktrace:




this is my Main class:



here is my build.gradle file:





 
Sheriff
Posts: 5747
149
Chrome Eclipse IDE Java Postgres Database VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This looks like a Java 9 (and up) module problem.  I'm not really up on the subject, but this might get you started:

Do you have a modules-info.java file?  You may need to add lines like this:
If that doesn't help I would (1) wait for someone more knowledgeable to post, or (2) Google module-info.java.
 
Mo-om! You're embarassing me! Can you just read a tiny ad like a normal person?
Become a Java guru with IntelliJ IDEA
https://www.jetbrains.com/idea/
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!