Gaver Powers Member Licensed User Longtime User Sep 26, 2016 #1 Any ideas what may be causing this now? Waiting for debugger to connect... java.lang.NoClassDefFoundError: javafx/scene/control/Dialog at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:188) at anywheresoftware.b4a.shell.Shell.getCorrectClassName(Shell.java:504) at anywheresoftware.b4a.shell.Shell.createObject(Shell.java:491) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:244) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:90) at b4j.example.main.<clinit>(main.java:17) Caused by: java.lang.ClassNotFoundException: javafx.scene.control.Dialog at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 13 more java.lang.ExceptionInInitializerError Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: javafx/scene/control/Dialog at anywheresoftware.b4a.BA.raiseEvent2(BA.java:114) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:90) at b4j.example.main.<clinit>(main.java:17) Caused by: java.lang.NoClassDefFoundError: javafx/scene/control/Dialog at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:188) at anywheresoftware.b4a.shell.Shell.getCorrectClassName(Shell.java:504) at anywheresoftware.b4a.shell.Shell.createObject(Shell.java:491) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:244) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93) ... 2 more Caused by: java.lang.ClassNotFoundException: javafx.scene.control.Dialog at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 13 more Exception in thread "main"
Any ideas what may be causing this now? Waiting for debugger to connect... java.lang.NoClassDefFoundError: javafx/scene/control/Dialog at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:188) at anywheresoftware.b4a.shell.Shell.getCorrectClassName(Shell.java:504) at anywheresoftware.b4a.shell.Shell.createObject(Shell.java:491) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:244) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:90) at b4j.example.main.<clinit>(main.java:17) Caused by: java.lang.ClassNotFoundException: javafx.scene.control.Dialog at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 13 more java.lang.ExceptionInInitializerError Caused by: java.lang.RuntimeException: java.lang.NoClassDefFoundError: javafx/scene/control/Dialog at anywheresoftware.b4a.BA.raiseEvent2(BA.java:114) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:90) at b4j.example.main.<clinit>(main.java:17) Caused by: java.lang.NoClassDefFoundError: javafx/scene/control/Dialog at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:188) at anywheresoftware.b4a.shell.Shell.getCorrectClassName(Shell.java:504) at anywheresoftware.b4a.shell.Shell.createObject(Shell.java:491) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:244) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:93) ... 2 more Caused by: java.lang.ClassNotFoundException: javafx.scene.control.Dialog at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 13 more Exception in thread "main"
Erel B4X founder Staff member Licensed User Longtime User Sep 27, 2016 #2 You need to use Java 8u40+ (Tools - Configure Paths). Upvote 0