JH_MANIFEST(1)
π NAME π
okay bestie, meet jh_manifest β the javahelper girlie whose whole job is adding and/or modifying manifests for jars. that's it, that's the gig β¨
πΈ SYNOPSIS πΈ
jh_manifest [debhelper options] [options] jar1 ... jarN
jh_manifest [debhelper options] [options]
like, you can hand her some jars by name, or you can just let her do her thing solo π
π¦ DESCRIPTION π¦
so jh_manifest is a Javahelper tool that adds or updates manifests inside a jar file. and she has two modes, main character energy fr:
- if you pass her jar files as arguments, she will only process those jars. no extras, no surprises.
- otherwise (no jars passed), she updates all the jar files in the packages she acts on. go off queen π
also, heads up: when she's processing a package, the debhelper(7) exclude option will make jh_manifest ignore matching jar files. so if a jar isn't getting touched, likeβ¦ that's probably why π
π FILES π
debian/package.manifest(ordebian/manifest) β this file is literally just a list of jar files plus the values you wanna add to their manifests. and here's the tea on precedence, bestie, listen close:- values in this file take precedence over values in the original manifest.
- and command line arguments take precedence over values in this file. so the command line is the ultimate authority, periodt.
- it is allowed to list a link in this file instead of an actual jar file, as long as that link can be resolved when
jh_manifestprocesses it. slay. - if a jar file listed here cannot be found,
jh_manifestwill print a warning β unless the jar file has been excluded. then she's chill about it. - as of javahelper >= 0.32, you may add comments in this file. if the line starts with a
"#"it is completely ignored. self-care π - this file is ignored if
jh_manifestis passed jar files via command line. so don't come crying to her about your manifest file when you handed her jars directly, iykyk π
β¨ OPTIONS β¨
-cclasspath,--classpath=classpath β sets theClass-Pathattribute of all processed jar files to classpath. and if you don't pass it? then theCLASSPATHenvironment variable will be used in the given jar file do not have aClass-Pathattribute. π«Ά-mclass,--main=class β sets theMain-Classattribute to class in all processed jar files. your entry point, your moment, your time to shine β--javaopts=options β sets theDebian-Java-Parametersto options in all processed jar files. this attribute is used byjarwrapperto start java with extra options (e.g. to make more memory available). give her room to breathe π§-j/path/to/java/home,--java-home=/path/to/java/home β sets theDebian-Java-Homeattribute to/path/to/java/homein all processed jars. this attribute is used byjarwrapperto determine which JVM to use. it's giving "pick your fighter" π₯
π EXAMPLES π
an example debian/manifest file, bestie, take notes π:
# use the symlink so we do not have to update with the next upstream release.
usr/share/java/my.jar:
Class-Path: dep1.jar dep2.jar
Main-Class: some.awesome.Class
usr/share/java/dep2.jar:
Class-Path: dep1.jar
π 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're lowkey iconic π
π AUTHOR π
Niels Thykier <niels@thykier.net>
π COPYRIGHT AND LICENSE π
Copyright 2010 by Niels Thykier
this tool is free software; you may redistribute it and/or modify it under the terms of GNU GPL 2. π«Ά
aaaand that's the whole page, bestie!! this is version 0.82, dated 2026-05-17 β go forth and manifest your jars, you absolute legend πβ¨π
π¦ 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