I am trying to create a StandAlone package and getting this error. Based on the error it is referring to this line of code.
Line 38:
icon1.Initialize("icon1", GreenImage, MenuItems) 'Initializes the icon on the system tray
I was originally using an older JDK version prior to 11+ and had no issues compiling, but now that I switched to 11+ It won't compile.
Any ideas would be helpful.
Thanks as always!
Line 38:
icon1.Initialize("icon1", GreenImage, MenuItems) 'Initializes the icon on the system tray
I was originally using an older JDK version prior to 11+ and had no issues compiling, but now that I switched to 11+ It won't compile.
Any ideas would be helpful.
Thanks as always!
B4X:
B4J Version: 9.10
Parsing code. (0.00s)
Java Version: 11
Building folders structure. (0.01s)
Compiling code. (0.03s)
ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code. (0.02s)
Organizing libraries. (0.00s)
Compiling generated Java code. Error
B4J line: 38
icon1.Initialize(\
src\b4j\example\main.java:60: error: package javafx.scene.image does not exist
_v0.Initialize(ba,"icon1",(javafx.scene.image.Image)(_v5.getObject()),anywheresoftware.b4a.keywords.Common.ArrayToList(_menuitems));
^
1 error