When trying to run B4JPackager11 in Mac, i get this;
I realise that the problem was addressed previously here:
However, I am not sure what the difference in quotes is or if different quotes are needed in the beginning and the end.
I even tried copy-pasting the quote from quote #3 of the above thread, with no success.
B4X:
Andreas2015:java andreas$ ~/documents/java/jdk11.0.1/bin/java -jar b4jpackager11.jar inputjar.json
B4JPackager11 Version 1.14
main._parseinput (java line: 995)
org.json.JSONException: Unterminated object at character 14 of {
InputJar: "/users/andreas/documents/java/boxgraphics/objects/boxgraphics.jar"
}
at org.json.JSONTokener.syntaxError(JSONTokener.java:450)
at org.json.JSONTokener.readObject(JSONTokener.java:394)
at org.json.JSONTokener.nextValue(JSONTokener.java:100)
at anywheresoftware.b4j.objects.collections.JSONParser.NextObject(JSONParser.java:48)
at b4j.example.main._parseinput(main.java:995)
at b4j.example.main._appstart(main.java:70)
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)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
at b4j.example.main.main(main.java:28)
I realise that the problem was addressed previously here:
Problem JSON B4JPackager11 - Mac Sierra
Hi All. I tried to compile and test a program written in B4J on Windows - Linux and Mac. On Windows and Linux no problem. On Mac (Sierra) when I try to create the installation package I have the following error: The json file looks correct (as you can see). Any idea ? Thank you very much Marco
www.b4x.com
However, I am not sure what the difference in quotes is or if different quotes are needed in the beginning and the end.
I even tried copy-pasting the quote from quote #3 of the above thread, with no success.
Last edited: