In this tutorial, we show you how to fix the error "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)