Java Question How to add jar file into my library

alirezahassan

Active Member
Licensed User
hi all,
I'm writing a library For the best IDE in the world (B4A):)
And i want to use jar file into my eclipse project.
I add like these pictures
2021-04-27_11-55-16.png

But when I output the library, the jar file is not added to my library output. And i should add my jar like this code
B4X:
#AdditionalJar
What should I do to put the jar file in my own library?
 

DonManfred

Expert
Licensed User
Longtime User
What should I do to put the jar file in my own library?
You can not add them.
You need to add a dependency reference.
Either using #additionaljar or using
B4X:
@DependsOn(values={"jarfilenamehere"})
in your wrapper-code
 

alirezahassan

Active Member
Licensed User
You can not add them.
You need to add a dependency reference.
Either using #additionaljar or using
B4X:
@DependsOn(values={"jarfilenamehere"})
in your wrapper-code

I took out his classes and inserted them in the source but sometimes it doesn't work properly.
This file is not free and I use it with the permission of the file owner. I can not give the file to the user with the library. Is there no way? Even if it is specialized
 

DonManfred

Expert
Licensed User
Longtime User
I can not give the file to the user with the library.
So in fact you are not allowed to give it away.
Beeing part of your lib i just need 7zip to extract the file you are not allowed to publish.

So. What ever you are trying here seems to be illegal.
 
Top