B4J Question (Solved) Error building Standalone Package with jSerial library v1.40

aeric

Expert
Licensed User
Longtime User
I am getting the following errors in Logs.

B4X:
B4JPackager11 Version 1.40
Exe name: MyApp.exe
build folder: C:\B4X\DEVELO~1\MY3EB8~1\B4J\Objects\temp\build
InputJar: C:\B4X\Development\MyApp\B4J\Objects\MyApp.jar
Running: C:\B4X\DEVELO~1\MY3EB8~1\B4J\Objects\temp\FindDosPath.exe
Running: C:\Java\jdk-14.0.1\bin\jar
Package name: com.myapp
Running: C:\Java\jdk-14.0.1\bin\jdeps
Exception in thread "main" java.lang.module.FindException: Module org.scijava.nativelib not found, required by jssc
    at java.base/java.lang.module.Resolver.findFail(Resolver.java:894)
    at java.base/java.lang.module.Resolver.resolve(Resolver.java:191)
    at java.base/java.lang.module.Resolver.resolve(Resolver.java:140)
    at java.base/java.lang.module.Configuration.resolve(Configuration.java:422)
    at java.base/java.lang.module.Configuration.resolve(Configuration.java:256)
    at jdk.jdeps/com.sun.tools.jdeps.JdepsConfiguration$Builder.build(JdepsConfiguration.java:564)
    at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.buildConfig(JdepsTask.java:603)
    at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:557)
    at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:533)
    at jdk.jdeps/com.sun.tools.jdeps.Main.main(Main.java:49)
 
Solution

teddybear

Well-Known Member
Licensed User
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Solution

aeric

Expert
Licensed User
Longtime User
Thanks Erel.
Issue resolved.
 
Last edited:
Upvote 0

peacemaker

Expert
Licensed User
Longtime User
I think, is this not related Linux ?
 
Upvote 0

amir hosein

Member
Hello everyone
I made a program that uses JSerial library . After Making Standalone Package the .EXE file doesn't work . I ran the run_debug.bat file and it shows many messages that include JSSC library . I searched for JSSC library in this forum and download it but I don't know that is the last version or no ?
Please help me to solve this problem .

Thanks
 
Upvote 0

bdunkleysmith

Active Member
Licensed User
Longtime User
You should really have started a new thread for your query rather than add it to an old thread, but . . .

Please refer to this post https://www.b4x.com/android/forum/t...-way-to-distribute-standalone-ui-apps.117880/ and take note of Tips and special cases 5.

Note that it is JSSC.dll that is required and that is contained in the zip file attached to the first post. As per the instructions, put in the project folder and add the CustomBuildAction.
 
Upvote 1
Top