javahelper - Helper scripts for packaging Java programs

Property Value
Distribution Debian 8 (Jessie)
Repository Debian Main amd64
Package name javahelper
Package version 0.48+deb8u1
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
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


Package Version Architecture Repository
javahelper_0.48+deb8u1_all.deb 0.48+deb8u1 all Debian Main
javahelper - - -


Name Value
bsdmainutils -
dctrl-tools -
debhelper -
devscripts -
dpkg-dev -
libarchive-zip-perl >= 1.30-6~
perl -


Type URL
Binary Package javahelper_0.48+deb8u1_all.deb
Source Package javatools

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install javahelper deb package:
    # sudo apt-get install 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.

See Also

Package Description
javamorph_0.0.20100201-1.3_all.deb Java morphing film-make program for pixel picture-input
javascript-common_11_all.deb Base support for JavaScript library packages
jaxe_3.5-5_all.deb JAva Xml Editor
jazip_0.34-15.1_amd64.deb Mount and unmount Iomega Zip and/or Jaz drives
jbibtex-base_2.5-2.1_all.deb make a bibliography for ASCII p(La)TeX / NTT j(La)TeX
jbig2dec_0.13-4~deb8u2_amd64.deb JBIG2 decoder library - tools
jbigkit-bin_2.1-3.1_amd64.deb JBIGkit binaries
jblas-doc_1.2.3-5_all.deb fast linear algebra library for Java
jblas_1.2.3-5_amd64.deb fast linear algebra library for Java
jbofihe_0.38-5.1_amd64.deb A parser for the lojban language
jcadencii_3.3.9+svn20110818.r1732-2_all.deb Piano roll editor for singing synthesis
jcal_0.4.1-2_amd64.deb UNIX-cal-like tool to display Jalali calendar
jcc_2.20-1_amd64.deb code generator producing a Python extension from Java classes
jclassinfo_0.19.1-7_amd64.deb extracts information from Java class files
jclic_0.2.1.0-1_all.deb Tool for the development & use of multimedia educational activities