JH_LINKJARS(1)
π JH_LINKJARS π
okay bestie, welcome to jh_linkjars β a lil javahelper tool from the Javahelper manual, and honestly? she's a whole vibe. she populates folders with symlinks to jar files. that's the job. let's get into it π«Ά
β¨ NAME β¨
jh_linkjars β populate folders with symlinks to jar files π
β¨ SYNOPSIS β¨
jh_linkjars [debhelper options]
jh_linkjars [debhelper options] directory
β¨ DESCRIPTION β¨
so here's the situation, and it's giving upstream did a thing π. If upstream ship convenience copies of third-party jar files which have been removed (see jh_repack(1)), but the build system still refers to that directory? yeah, that directory is now empty and the build is gonna be Big Mad. enter jh_linkjars β she populates that directory with symlinks to the packaged jars in /usr/share/java. icon behaviour, no cap. π
she gets called either with a directory right there on the command line, or by specifying one target directory per line in the file debian/linkjars. pick your fighter.
then jh_linkjars will scan all of the (installed) build-dependencies and create a symlink to every jar which is installed by those packages in the target directory. literally every single one. slay. β¨
and yes she can be called with -u to remove all the symlinks in the clean target β that's the unlink era. this is done automatically by jh_clean(1), so you don't even gotta lift a finger. π§
β¨ FILES β¨
debian/linkjarsβ list of directories to populate; one directory per line. one. per. line. don't be chaotic about it. π
β¨ OPTIONS β¨
-t,--transitiveβ transitively link jar files, i.e. also include indirect dependencies in the target directory. she's going deeper. bestie is following the whole friend-of-a-friend chain. π¦-u,--unlinkβ remove all files/links in the target directories thatjh_linkjarscreated (or would have created). it's giving cleanup arc, and yes the "(or would have created)" part is doing exactly what it says. πΈ
and beyond the above,jh_linkjarsalso accepts the shared debhelper options documented indebhelper(7). shared options, shared energy, we love a collaborative queen. π
β¨ SEE ALSO β¨
this program is a part of javahelper and uses debhelper as backend. there are also tutorials in /usr/share/doc/javahelper β go read them, they're lowkey helpful fr fr. π
β¨ AUTHOR β¨
Niels Thykier <niels@thykier.net> β we stan. π
aaaand that's the whole page, bestie!! version 0.82, dated 2026-05-17, straight from the Javahelper corner of the world π go populate some directories and absolutely devour π
β¨
π¦ where this page comes from
- ubuntu stonking: javahelper 0.82 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms