B4J Question Problem with TableAndForms example

Elric

Well-Known Member
Licensed User
Hello everybody and happy new year!

I'm trying to pick up a project I started almost two months ago.

Using the Erel's example:

it doesn't work anymore (I can swear that two months ago it perfectly worked on my pc) and I cannot understand why.

This is the log file if I run the Erel's example:
B4X:
Waiting for debugger to connect...
Program started.
Error occurred on line: 657 (B4XTable)
java.lang.RuntimeException: Class not found: org.sqlite.JDBC
Are you missing an #AdditionalJar attribute setting?
    at anywheresoftware.b4j.objects.SQL.Initialize2(SQL.java:56)
    at anywheresoftware.b4j.objects.SQL.Initialize(SQL.java:47)
    at anywheresoftware.b4j.objects.SQL.InitializeSQLite(SQL.java:119)
    at b4j.example.b4xtable$ResumableSub_SetData.resume(b4xtable.java:396)
    at b4j.example.b4xtable._setdata(b4xtable.java:332)
    at b4j.example.editabletable._loaddata(editabletable.java:609)
    at b4j.example.editabletable._initialize(editabletable.java:84)
    at b4j.example.main._appstart(main.java:83)
    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.shell.Shell.runMethod(Shell.java:632)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:237)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167)
    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:91)
    at anywheresoftware.b4a.shell.ShellBA.raiseEvent2(ShellBA.java:98)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)
    at b4j.example.main.start(main.java:38)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)
    at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)
    at java.lang.Thread.run(Thread.java:748)

Any idea?

Thank you!
 

LucaMs

Expert
Licensed User
Longtime User
Upvote 0

Elric

Well-Known Member
Licensed User
Thank you LucaMs!

Yes, I remember that I've looked the post you have indicated and I've done the procedure indicated therein. I've reinstalled and everything is ok now.

So, I do not understand why it works for proinko user but it doesn't work for me.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…