javahelper - Helper scripts for packaging Java programs

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: javahelper
Package version: 0.48+deb8u1
Package release:
Package architecture: all
Package type: deb
Installed size: 257 B
Download size: 82.35 KB
Official Mirror:
Javahelper contains several scripts which help in packaging Java programs. jh_depends searches jars to find which packages they depend on, similar to dh_shlibdeps. It will also add depends on jarwrapper for packages with executable jars. jh_classpath will register the classpath dependencies for each jar so that they can be automatically loaded when that jar is used by other programs. jh_manifest updates the manifest in jar files according to a provided spec so that the resultant jar files will work with jarwrapper-enabled packages. jh_exec looks for symlinks to jars which should be executable and makes them executable jh_build builds java files to jars for you. jh_installlibs installs library jars into the correct locations jh_makepkg generates a template for a Debian Java package for you jh_installeclipse installs features/plugins built by pde-build. jh_setupenvironment prepares an out of source built for eclipse builds. jh_generateorbitdir creates and populates an orbit dir for eclipse builds. jh_compilefeatures compiles eclipse features based on feature ids. /usr/share/javahelper/ provides a selection of useful variables such as various JVM paths and the JVM name for the architecture /usr/share/javahelper/ converts Debian architecture names into java names to locate in non-make build systems javahelper provides CDBS and dh macros so that it can be used with those package build systems. Note that some of the eclipse helpers depends on packages not pulled by default (like with devscripts). You can find these scripts in Suggests.



    Source package: javatools

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install javahelper deb package:
      # sudo apt-get install javahelper


    • /usr/bin/fetch-eclipse-source
    • /usr/bin/jh_build
    • /usr/bin/jh_classpath
    • /usr/bin/jh_clean
    • /usr/bin/jh_compilefeatures
    • /usr/bin/jh_depends
    • /usr/bin/jh_exec
    • /usr/bin/jh_generateorbitdir
    • /usr/bin/jh_installeclipse
    • /usr/bin/jh_installjavadoc
    • /usr/bin/jh_installlibs
    • /usr/bin/jh_linkjars
    • /usr/bin/jh_makepkg
    • /usr/bin/jh_manifest
    • /usr/bin/jh_repack
    • /usr/bin/jh_setupenvironment
    • /usr/share/cdbs/1/class/
    • /usr/share/doc-base/javahelper-tutorial
    • /usr/share/doc/javahelper/changelog.gz
    • /usr/share/doc/javahelper/copyright
    • /usr/share/doc/javahelper/tutorial.html
    • /usr/share/doc/javahelper/tutorial.txt.gz
    • /usr/share/javahelper/
    • /usr/share/javahelper/
    • /usr/share/javahelper/
    • /usr/share/javahelper/jh_scanjavadoc
    • /usr/share/man/man1/fetch-eclipse-source.1.gz
    • /usr/share/man/man1/jh_build.1.gz
    • /usr/share/man/man1/jh_classpath.1.gz
    • /usr/share/man/man1/jh_clean.1.gz
    • /usr/share/man/man1/jh_compilefeatures.1.gz
    • /usr/share/man/man1/jh_depends.1.gz
    • /usr/share/man/man1/jh_exec.1.gz
    • /usr/share/man/man1/jh_generateorbitdir.1.gz
    • /usr/share/man/man1/jh_installeclipse.1.gz
    • /usr/share/man/man1/jh_installjavadoc.1.gz
    • /usr/share/man/man1/jh_installlibs.1.gz
    • /usr/share/man/man1/jh_linkjars.1.gz
    • /usr/share/man/man1/jh_makepkg.1.gz
    • /usr/share/man/man1/jh_manifest.1.gz
    • /usr/share/man/man1/jh_repack.1.gz
    • /usr/share/man/man1/jh_setupenvironment.1.gz
    • /usr/share/man/man3/Debian::Javahelper::Eclipse.3.gz
    • /usr/share/man/man3/Debian::Javahelper::Java.3.gz
    • /usr/share/man/man3/Debian::Javahelper::Manifest.3.gz
    • /usr/share/man/man3/Debian::Javahelper::ManifestSection.3.gz
    • /usr/share/perl5/Debian/Debhelper/Sequence/
    • /usr/share/perl5/Debian/Debhelper/Sequence/
    • /usr/share/perl5/Debian/Javahelper/
    • /usr/share/perl5/Debian/Javahelper/
    • /usr/share/perl5/Debian/Javahelper/
    • /usr/share/perl5/Debian/Javahelper/


    2016-08-06 - Julien Cristau <> javatools (0.48+deb8u1) jessie; urgency=medium * Non-maintainer upload. * Fixed the arch returned for ppc64el in (closes: #833572)

    2014-12-05 - Markus Koschany <> javatools (0.48) unstable; urgency=medium * Team upload. * jarwrapper: Add MULTIARCH_LIBRARY_PATH variables for 32bit and 64bit arches which contain all known multiarch jni library paths and use this as value for -Djava.library.path depending on the JVM that is used to launch the application. Add an additional check for the GIJ bytecode interpreter and let it handle the library path by itself. This ensures that all JVM will find the corresponding libraries correctly. (Closes: #764630)

    2014-09-10 - Emmanuel Bourg <> javatools (0.47) unstable; urgency=medium * Team upload. [ tony mancill ] * Return "ppc64" as the archdir for ppc64el. (Closes: #756311) - Thank you to Colin Watson for the notification and patch. [ Emmanuel Bourg ] * jh_repack: Remove the .svn directories (Closes: #689810) * jh_build: Compile with debug symbols (Closes: #722353)

    2014-03-19 - Dmitry Smirnov <> javatools (0.46) unstable; urgency=low * Team upload. [ tony mancill ] * Fix archdir for arm64 and ppc64el. (Closes: #732860) - Thanks to Matthias Klose. [ Dmitry Smirnov ] * Standards to 3.9.5. * jarwrapper: fixed manifest parsing and long lines wrapping (Closes: #729943). + added "${perl:Depends}" to jarwrapper's Depends. * javahelper: added missing "${perl:Depends}" to Depends. * javahelper: added doc-base registration (Closes: #699180) - Thanks to Wolodja Wentland for patch.

    2013-10-06 - Niels Thykier <> javatools (0.45) unstable; urgency=low * jh_manifest: Fix bug where "EXCLUDE_FIND" was not properly expanded (regression introduced in 0.44). Thanks to Daniel Schepler for reporting it. (Closes: #725440) * d/control: Fix typo of "and". Thanks to Pascal De Vuyst for reporting it. (Closes: #725335)

    2013-09-24 - Niels Thykier <> javatools (0.44) unstable; urgency=low * Add a new minor TAP based test suite. * Fix bug in jh_repack when removing empty directories. Thanks to Francesco Poli for reporting it and writing the patch. (Closes: #689788) * Fix the output path for javadoc generated by jh_build. Thanks to Jakub Adam for reporting it and writing the patch. (Closes: #692230) * jh_installeclipse: Allow any installed package to provide a .jar dependency, not just those with desired-state install. Thanks to Colin Watson for the patch (pulled from Ubuntu's javatools/0.43ubuntu2). * Always write fields in a predictable order. This fixes a FTBFS when the tests had a different order. Thanks to Damyan Ivanov for reporting this bug. (Closes: #723884) * jh_depends: Strip leading "file://" before looking for a jar file. Thanks to Rene Engelhard for the bug report. (Closes: #632821) * jh_installjavadoc: Apply patch from Markus Koschany to insert a default value for the "Author"-field when no author is provided. Also fix a typo in the generated doc-base file. (Closes: #625945) * jh_makepkg: Advise people to use mk_make for packges with a maven based build system. Thanks to Hilko Bengen for the suggestion. (Closes: #703376) * d/control: Use the canonical URL in the Vcs-* fields. * d/control: Bump Standards-Version to 3.9.4 - no changes required.

    2012-06-20 - Niels Thykier <> javatools (0.43) unstable; urgency=low * Make jh_build pass -source 1.5 by default to javadoc if no -source parameter is explicitly given. * Make jh_build pass -target 1.5 by default to javac if neither -source nor -target is explicitly given.