B4J Question Could not make a Standalone app: Error parsing property

phangs

Member
Hello again. I am on windows 11 64bit. When making a standalone app with an sqlite library, it always result to an error like the image below:

1719546384902.png



Any one can lend a hand? I just need a push to the right direction.

thanks
 

phangs

Member
Hello sorry for that. Here's the app and logs. thanks a lot.

Compile Dialog
B4J Version: 10.00
Parsing code. (0.05s)
Java Version: 14
Building folders structure. (0.02s)
Compiling code. (0.08s)
Compiling layouts code. (0.02s)
Organizing libraries. (0.00s)
Compiling generated Java code. (1.92s)
Building jar file. (6.36s)
Jar file created: C:\Users\wlpineda\Documents\Development\B4X\B4J\Zalon\Objects\Zalon.jar
Building package. Check logs for more information. Error


Logger

B4JPackager11 Version 1.40
Exe name: Zalon.exe
build folder: C:\Users\wlpineda\DOCUME~1\DEVELO~1\B4X\B4J\Zalon\Objects\temp\build
InputJar: C:\Users\wlpineda\Documents\Development\B4X\B4J\Zalon\Objects\Zalon.jar
Running: C:\Users\wlpineda\DOCUME~1\DEVELO~1\B4X\B4J\Zalon\Objects\temp\FindDosPath.exe
Running: C:\jdk-14.0.1\bin\jar
Package name: b4j.example
Running: C:\jdk-14.0.1\bin\jdeps
.
.
Explicitly excluded modules: [javafx.web]
Included modules: [java.base, java.desktop, javafx.base, javafx.controls, javafx.graphics]
Running: C:\jdk-14.0.1\bin\javac
.
module-info.java:8: error: package java.sql is not visible
uses java.sql.Driver;
^
(package java.sql is declared in module java.sql, but module b4j does not read it)
1 error
 

Attachments

  • Zalon.zip
    57.8 KB · Views: 0
Upvote 0

phangs

Member
Furthermore, I tried making a new App New > UI, then from there, run it, works fine. Created a standalone package, successfully created an exe, run it, works fine. The problem I am seeing is that when the app uses sqlite jdbc. sorry I don't know much about compiling issues, heck I'm not even a real programmer, just a beginner learning.
 
Upvote 0

phangs

Member
Hello, solved this base on this post


thanks
 
Upvote 0
Top