Java Question Including jar with SLC

Creideiki

Active Member
Licensed User
Longtime User
I want to include the wrapped jar with SLC.

I have to put it in my project in libs to compile it.
I have to put it somewhere in additional to include it - but where? I tried
additional
additional/lib
but creating an app with it didn't compile because it didn't find the jar.
(Cannot find: E:\Programme\Anywhere Software\Basic4android\libraries\d2xx.jar)
When I open my wrapper as zip I can see the jar inside. But B4A doesn't find it.

I can copy the jar in my B4A additional library folder, I know... but I want to include it in my wrapper jar.
 

somed3v3loper

Well-Known Member
Licensed User
Longtime User
I can think of finding d2xx source code instead of using compiled version but there is a limit on .java files that can be compiled .
 

somed3v3loper

Well-Known Member
Licensed User
Longtime User
There is no limit, but it is not needed.

Unzip the jar file and copy its content to the additional folder.
I am sure if I compile a library with many .java files I will get an error message(forgot its content) but will not be able to compile . It might not be a bug in SLC .
 

DonManfred

Expert
Licensed User
Longtime User
What error you get?
Post the full error
 

DonManfred

Expert
Licensed User
Longtime User
It hits Windows path limit. The solution is to compile the source code separately
Does it not help to use a SHORTER startingpath for the project to compile?

Old: C:\some\deeeeeeeeeep\foldername\myprojectusinglongnames\
New: C:\projects\myproject
 

somed3v3loper

Well-Known Member
Licensed User
Longtime User
I see. It hits Windows path limit. The solution is to compile the source code separately and add the .class files (as I wrote in the 2nd post).
Or just reference the jar.
Does such limit exist in linux ?
I am thinking of installing it on a VM .
 

DonManfred

Expert
Licensed User
Longtime User
Last edited:
Top