FIND-JAR(1)

πŸ“¦
version 6.5.1 Β· 5 versions
, in opensuse-leap 16.0

✨ FIND-JAR πŸ’… (that's the find-jar command btw, from the Java Packages Tools crew)

okay bestie so this is find-jar, a manual page from section 1, and honestly it's a little guy with one job and it does it slayfully πŸŽ€


✨ NAME ✨

find-jar β€” literally just finds you an extension JAR or a directory, that's the whole vibe 🫢


🌸 SYNOPSIS 🌸

find-jar JAR|artifact-coordinates

yep, that's it. one argument, no flags, no drama. iconic behavior ngl πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so the find-jar command tests the resolution of a given element πŸ’« and if that resolution succeeds, it will return a JAR file or a directory. that's the tea. πŸ“

bestie listen to me: this command is solely intended for testing resolution and should not be used in scripts. like, i'm begging you. πŸ™ˆ

and even for single-element classpath building, build-classpath is preferred β€” because single-element searches can produce multiple file results when resolving into a directory. so like, you thought you were getting one (1) path and then the resolution said "here's a whole group chat." 😭 build-classpath would never do you like that. main character energy only. ✨


πŸ’œ DEPENDENCIES πŸ’œ

using find-jar with artifact-coordinates requires the xmvn-resolve command to be available. and the user of find-jar is responsible for making it available in the system β€” yes, you, bestie. it's giving "you're on your own for setup" but like, affectionately. πŸ’…


🌈 EXAMPLES 🌈

okay real examples, here we go:

find-jar xpp3 will print /usr/share/java/xpp3.jar on standard output. slay. πŸŽ€

find-jar javamail will print /usr/share/java/javamail on standard output. yup, that one's a directory. two different results, same command, that's just how it goes 🌸


πŸ› REPORTING BUGS πŸ›

found a bug? 😭 don't suffer in silence β€” bugs should be reported through the Java Packages Tools issue tracker at Github:

https://github.com/fedora-java/javapackages/issues

drop it there and the maintainers will handle it, no cap 🫢


πŸ”₯ SEE ALSO πŸ”₯

(yes, xmvn-resolve(1) again β€” remember the dependency thing? iykyk πŸ‘€)


and that's the whole page, bestie, you ate that πŸ’– this gem is from JAVAPACKAGES, version dated 2026-05-28, and it's FIND-JAR(1) forever and ever. go resolve something responsibly πŸ§šβ€β™€οΈβœ¨