W wdegler Active Member Licensed User Longtime User Aug 11, 2016 #1 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?
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?
Erel B4X founder Staff member Licensed User Longtime User Aug 12, 2016 #2 You need Java 8u40+. Upvote 0
W wdegler Active Member Licensed User Longtime User Aug 13, 2016 #3 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
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.
W wdegler Active Member Licensed User Longtime User Aug 13, 2016 #4 Pardon my spelling; I see that it is LucaMs. Upvote 0