B4J Question MyOSMdemo - is compatible with Java 11 ?

amorosik

Expert
Licensed User
After changed Java from 8 to 11 version, MyOSMDemo reply with error at run-time
On AppStart, line Spot1.Initialize2("CairoSpot", 10, fx.Colors.RGB(0,120,0),2, 30.1,31.2) on log windows appear
---------------------------------------------------------
Waiting for debugger to connect...
Program started.
java.lang.NoClassDefFoundError: javafx/scene/shape/CircleBuilder
at jfxtras.labs.map.render.SimpleMapMarker.<init>(SimpleMapMarker.java:31)
at starchild.b4j.jfxtras.labs.map.render.SimpleMapMarker.Initialize2(SimpleMapMarker.java:112)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
................
---------------------------------------------------------

How can i use MyOSMDemo with Java 11 ?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…