Hi, who can help me? I made a program with a sqlite database, I created two files with "B4JPackager11" one for windows and another for mac, in windows and everything works once I run the "exe" everything ok, instead with the mac but from the following error once I run the program with "run_command", I state that I have already updated "sqlite_jdbc_3.30.1.jar" and I inserted when I open the db the line "sql1.ExecNonQuery (" PRAGMA journal_mode = wal ")", use the sdk 11.0.1 of java for both windows and for mac, in fact I tell you that by bringing the program only compiled with b4j precisely the executable "JAR" it from windows that from mac does not start at all, in the two machines both java 1.8 are installed . Has anyone had these problems ?. secondly does anyone know how to start on mac without run-command?
Regards
Regards
java.sql.SQLException: [SQLITE_NOTADB] File opened that is not a database file (file is encrypted or is not a database)
at org.sqlite.DB.newSQLException(DB.java:383)
at org.sqlite.DB.newSQLException(DB.java:387)
at org.sqlite.DB.throwex(DB.java:374)
at org.sqlite.NestedDB.prepare(NestedDB.java:134)
at org.sqlite.DB.prepare(DB.java:123)
at org.sqlite.Stmt.execute(Stmt.java:113)
at anywheresoftware.b4j.objects.SQL.ExecNonQuery(SQL.java:156)
at b4j.example.keyvaluestore._createtable(keyvaluestore.java:62)
at b4j.example.keyvaluestore._initialize(keyvaluestore.java:357)
at b4j.example.tm._initialize(tm.java:1342)
at b4j.example.project._initializetm(project.java:706)
at b4j.example.project._open(project.java:826)
at b4j.example.main._menubar1_action(main.java:487)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90)
at anywheresoftware.b4a.BA$1.run(BA.java:215)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)