Bug 577156 - JavaFX on macOS is showing a "Graphics Device initialization failed for : es2, sw"
Summary: JavaFX on macOS is showing a "Graphics Device initialization failed for : es2...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.22   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-09 15:33 EST by Eman Afi CLA
Modified: 2021-11-09 15:33 EST (History)
0 users

See Also:


Attachments
A screenshot of my issue (426.04 KB, image/png)
2021-11-09 15:33 EST, Eman Afi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eman Afi CLA 2021-11-09 15:33:01 EST
Created attachment 287474 [details]
A screenshot of my issue

I've just started coding/testing non-modular JavaFX projects using the IDE tools on macOS on Eclipse (it's mandatory to use Eclipse that way for a class) and I'm facing an error to start a simple app. I keep getting the following:



Graphics Device initialization failed for : es2, sw

Error initializing QuantumRenderer: no suitable pipeline found

java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found

at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:283)

at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:254)

at javafx.graphics/com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:264)

at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291)

at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163)

at javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659)

at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:410)

at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:364)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1071)

Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found

at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:95)

at javafx.graphics/com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)

at java.base/java.lang.Thread.run(Thread.java:833)

Exception in thread "main" java.lang.reflect.InvocationTargetException

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1071)

Caused by: java.lang.RuntimeException: No toolkit found

at javafx.graphics/com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:276)

at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291)

at javafx.graphics/com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163)

at javafx.graphics/com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659)

at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:410)

at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:364)

... 5 more

I already used a suitable JDK, included the proper JARs, and even added the proper VM arguments. But nothing is working, I'd appreciate any help if possible!

I included pictures as well of my issue and the solutions I attempted.