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_classpathwill usedebian/classpathas 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
- 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