B4J Question Can not run JAR on MAC with DBUTILS and sqlite

petr4ppc

Active Member
Licensed User
Dear friends,

my JAR is absolutely Ok on PC.

I am trying to run JAR on MAC, but I get this message:

The trouble is if I am using DBUTILS
B4X:
#AdditionalJar: sqlite-jdbc-3.7.2
from DBUtils tutorial

The app is closed on the row:
B4X:
SQL1.InitializeSQLite(File.DirApp, "database/mydb.db", True)
in console(on mac) is this message:
WindowServer: CGXSetWindowListSystemAlpha: Invalid windows 1902 (Index 0/1)

my app I can not run on MAC...

If I run it without
B4X:
SQL1.InitializeSQLite(File.DirApp, "database/mydb.db", True)
the APP is then running O.K. on MAC

I want use dbutils and sqlite database as on PC...

Please can you give me advice? Which file #AdditionalJar: sqlite-jdbc-3.7.2 I must use for MAC?
Thank you
p4ppc
 
Last edited:

petr4ppc

Active Member
Licensed User
Erel,

thank you very much, everything is OK via terminal.
I not understand :)
Can I run it normally via icone? Or I must everytime use terminal, please?

Thank you very much
best regards
p4ppc
 

petr4ppc

Active Member
Licensed User
I want be B4J friendly,

I must reduce and edit some info and then I can upload jar, Erel.
 

petr4ppc

Active Member
Licensed User
Erel, please,

i am trying to upload file,

So I am using the same file - basic file for finding solution - standard starting JAR file in MAC. I am trying uploading the basic JAR = standard DBUTILS jar from DBUtils tutorial - it have 3,4MB. I cant upload the file.

This is the reason why I am sending link to dbutilstutorial
http://www.b4x.com/android/forum/threads/dbutils-example.34611/#content
and project files
http://www.b4x.com/android/forum/attachments/dbutils-zip.20907/

This is standard dbutils tutorial JAR and this can be started via terminal on my mac, but standard starting (doubleclick) on file JAR is not successful.

MAC - OS X 10,9,5
Installed Java JDK v 7 and JavaFX Scene on MAC.


Please what I am doing wrong?
Thank you
Best regards
P4PPC
 

petr4ppc

Active Member
Licensed User
Erel,

thank you very much for your advices.
The trouble was in the name of folder in MAC.
Old name of folder was with non english characters.
I renamed the name of folder to "aaa" and everything is ok.
DBUtils is working.

I spent lot of time on this, I spent weekend on this think...its my mistake.
Thank you Erel
BEST REGARDS

p4ppc
 
Top