Hi all,
Today I did clean installations of B4J and Java.. first I installed Java 8, then Java 11.. they gave two different errors.
please see the following error descriptions .. Any help with meaning appreciated..
Best, -B
Today I did clean installations of B4J and Java.. first I installed Java 8, then Java 11.. they gave two different errors.
please see the following error descriptions .. Any help with meaning appreciated..
Best, -B
Compiling generated Java code. with Java 11 Error
B4J line: 53
icon1.Initialize(\
src\b4j\example\main.java:122: error: package javafx.scene.image does not exist
_icon1.Initialize(ba,"icon1",(javafx.scene.image.Image)(_img.getObject()),anywheresoftware.b4a.keywords.Common.ArrayToList(_menuitems));
--------------------------------------------------------------
javac 1.8.0_191
src\b4j\example\astart.java:37: error: cannot access JServlet
public String _handle(anywheresoftware.b4j.object.JServlet.ServletRequestWrapper _req,anywheresoftware.b4j.object.JServlet.ServletResponseWrapper _resp) throws Exception{
^
bad class file: C:\B4J\B4J\libraries\jserver.jar(anywheresoftware/b4j/object/JServlet.class)
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.