This is implied in the language / IDE concept. You only create a jar (library). Dependencies are managed externally (for example, in maven). In executable banks, there may be a manifest indicating the dependencies, but nevertheless, the dependencies must be connected by you ...
In earlier times, Netbeans did a decent job of combining all the connected cans - they have not used it for a long time.
Jan
EDIT: It is possible to create such a jar - on the command line. Since jar is just a mail container, you can easily write a script that undoes all your dependencies together with your bank in one place, and then merges everything together again.
I do not recommend it!
source share