B4J Question Runtime error on all my B4J apps

wdegler

Active Member
Licensed User
Longtime User
I have written several B4J apps which have run correctly.

Now, when I return to any of them and recompile them (in Debug mode), they recompile all right but a runtime error immediately occurs:

java.lang.ExceptionInInitializeError
Caused by: Java.lang.RuntimeException.java.lang.
NoClassDefFoundError.javafx/scene/control.Dialog
at anywheresoftware.b4a.BA.raiseEvent2 ...

None of these apps define or use classes. Can someone let me know what the problem is?
 

wdegler

Active Member
Licensed User
Longtime User
Thanks to you, LucusMs and Erel. You nailed it! I needed to update Java.
I downloaded jdk1.8.0_102 to C:\Program Files\Java and my b4j apps work now.
Thanks.
 
Upvote 0
Top