JH_CLASSPATH(1)

πŸ’… JH_CLASSPATH β€” like, the javahelper manual, bestie πŸ’…

okay so this is the page for jh_classpath, and it lives in the javahelper manual (section 1, obvs). sit down, grab a strawberry, we're learning πŸ’–


✨ NAME ✨

jh_classpath β€” sets classpaths in jar files πŸ«™


🌸 SYNOPSIS 🌸

jh_classpath [debhelper options]
jh_classpath [debhelper options] [-ppackage] [--classpath=cp] [jar [...]]

πŸ¦‹ DESCRIPTION πŸ¦‹

jh_classpath is a javahelper program, and its whole job β€” its moment, its main character arc β€” is setting the classpath on jar files for you. no cap. πŸ’…

it has two modes of operations, and the way that it just switches between them? iconic.

Mode one, the default πŸŽ€: it reads debian/package.classpath or debian/classpath and sets the classpath of every single jar file listed in that file. slay. but heads up β€” in this mode, jh_classpath does not accept any non-option arguments. none. zero. periodt.

Mode two, the "actually bestie, here's my jar list" era 🌈: you pass jh_classpath a list of jar files to update. it'll process each one of those and set the classpath of them to that value set by --classpath, if you passed it. if --classpath is omitted, the environment variable CLASSPATH gets used instead (rewriting its contents as necessary πŸ”). and in this mode, jh_classpath will not read debian/package.classpath nor debian/classpath. lowkey she's committed to the bit.


πŸ“ FILES πŸ“

  • debian/package.classpath, debian/classpath β€” these get parsed to determine which jar files should be processed for the given package. now listen, because this part is a lil different from the other debhelper commands πŸ‘€ β€” unlike most of them, jh_classpath will use debian/classpath as a fallback configuration file for all packages that it acts on. other debhelper commands usually only apply this fallback to the "main package". she's generous like that πŸ’–

the file consists of 0 or more lines with the following:

jarfile classpath-file1 [... classpath-file2]

and note that each file in the classpath is space-separated in this configuration file. yes, spaces. remember it. πŸ“


✨ OPTIONS ✨

  • -ccp, --classpath=cp β€” sets the classpath, bestie πŸ’…

beyond the above, jh_classpath also accepts the shared debhelper options documented in debhelper(7). go look, iykyk 🧚


πŸ‘‘ SEE ALSO πŸ‘‘

  • debhelper(7)
  • 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 ate. πŸ”₯

πŸ’œ AUTHOR πŸ’œ

Niels Thykier <niels@thykier.net> β€” king behavior, respectfully πŸ‘‘


and that's the whole vibe check, bestie β€” version 0.82, dated 2026-05-17, straight from the javahelper corner of the universe. now go set those classpaths. mwah πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from