I'm also using windows 10 & my java version is C:\Program Files\Java\jdk1.8.0_74\bin\javac.exe but get the below message, I had no problems before with an older version of B4J & Java 7, but recently updated all & also cannot run the program on the Rpi.
Program started.
main._process_globals (java line: 326)
java.lang.NoClassDefFoundError: javafx/scene/control/Dialog
at b4j.example.main._process_globals(main.java:326)
at b4j.example.main.initializeProcessGlobals(main.java:317)
at b4j.example.main.start(main.java:33)
at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837)
at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335)
at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301)
at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298)
at com.sun.glass.ui.lens.LensApplication$RunnableEvent.dispatch(LensApplication.java:182)
at com.sun.glass.ui.lens.LensApplication._runLoop(LensApplication.java:860)
at com.sun.glass.ui.lens.LensApplication.access$1800(LensApplication.java:58)
at com.sun.glass.ui.lens.LensApplication$4.run(LensApplication.java:917)
at java.lang.Thread.run(Thread.java:744)
Caused by: jav
a.lang.ClassNotFoundException: javafx.scene.control.Dialog
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 14 more
Any ideas would be much appreciated, thanks.
Edit: My program runs on the desktop PC but won't on the Raspberry Pi, I think it may be more to do with JavaFx or lack of it on the RPi!
Edit1: On a different RPi with latest version of raspbian I seem to get this: Error: JavaFX runtime components are missing, and are required to run this application. it is using java version 1.8.0_76-ea