How to fix "java.lang.ClassNotFoundException: com.sun.javafx.Utils"?

In this tutorial, we show you how to fix the error "java.lang.ClassNotFoundException: com.sun.javafx.Utils".
How to fix "java.lang.ClassNotFoundException: com.sun.javafx.Utils"

Error Message

Caused by: java.lang.ClassNotFoundException: com.sun.javafx.Utils
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

How to fix java.lang.ClassNotFoundException: com.sun.javafx.Utils

The problem is that the class com.sun.javafx.Utils was moved to com.sun.javafx.util.Utils package from Java 8 update 60. You must downgrade Java from Java 8 update 60 to 8 update 51 or Java old versions.
Previous Post
Next Post

post written by: