Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » error concerning jfx: Graphics Device initialization failed(Error during Initialization of JavaFX)
error concerning jfx: Graphics Device initialization failed [message #1844869] Tue, 28 September 2021 11:00 Go to next message
Philipp Stücker is currently offline Philipp StückerFriend
Messages: 1
Registered: September 2021
Junior Member
Hi guys.

This is my first post here in this forum, so I hope that I am in the right place here.

I am trying to learn how to use JavaFX. I am using a new Windows 10 PC and eclipse for my own projects as a student. I installed e(fx)clipse via the market place and created a user library, including javafx.base, .controls, . fxml, .graphics, .media, .swing, and .web. According to various tutorials, you should be able to add this user library to your project. I did but the errors did not disappear at first. After adding the library to the module.path and not the classpath, it all worked out and the errors disappeared.


But now I get this long error-message if I try to run a project. How can I fix this? Any ideas?


Hope you guys can help me.
Stay healthy. :)
Re: error concerning jfx: Graphics Device initialization failed [message #1845011 is a reply to message #1844869] Sat, 02 October 2021 15:43 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6648
Registered: July 2009
Senior Member
hm interesting - can you show us the module path used to execute?
Re: error concerning jfx: Graphics Device initialization failed [message #1847322 is a reply to message #1845011] Fri, 22 October 2021 14:19 Go to previous message
Thomas Piekarski is currently offline Thomas PiekarskiFriend
Messages: 4
Registered: October 2021
Location: Hamburg, Germany
Junior Member


you could try to add the arguments -Djavafx.verbose=true and -Dprism.verbose=true to your run configuration. In doing so you'll get more log output to work with.

It could be that you're missing some native libs or a graphic driver and indeed it could be related to your first issue.

For this (follow-up) issue please take a look at as well.
Previous Topic:HowTo ???
Next Topic:e(fx)clipse and JavaFx 17
Goto Forum:

Current Time: Thu Sep 29 14:54:23 GMT 2022

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

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

Back to the top