JH_GENERATEORBITDIR(1)
π« jh_generateorbitdir β bestie edition π«
okay so this is jh_generateorbitdir(1), and it lives in the Javahelper manual, so likeβ¦ it's a javahelper girlie through and through π
β¨ NAME β¨
jh_generateorbitdir β creates and populates an orbit dir that pde-build uses for third-party jar files π«β¨
πΈ SYNOPSIS πΈ
jh_generateorbitdir [debhelper options] [--orbit-dir=dir] [orbit-dep [...]]
like yes that's the whole vibe, no cap π
π¦ DESCRIPTION π¦
so jh_generateorbitdir is a javahelper program, and its whole main character job is handling the creation of an orbit dependency dir. and bestie, this directory has to be populated with non-eclipse jar files π«Ά but here's the plot twist: eclipse refers to these jars by their "symbolic name". not me having to hunt down a whole symbolic name π
good news: jh_generateorbitdir can extract that name straight out of the jar's manifest β provided it has the OSGi metadata β and then it creates a symlink to it. iconic behaviour tbh π₯
now, the drama:
- if regular files are already sitting in the orbit dir and they clash with the name of one of the orbit jars,
jh_generateorbitdirwill replace those regular files with symlinks. yeah. it's giving "moving on, respectfully" π - if an orbit jar name clashes with a symlink already in the orbit dir, then
jh_generateorbitdirassumes that the given jar has already been symlinked correctly. and in that case the jar file is still recorded in the cache (see below, bestie π).
also!! on Debian systems it will check the default installation for jar files β at the time of writing /usr/share/java β if it can't find the jar in the current dir. so it goes looking for you, it's so thoughtful π₯Ή
and one more thing, super important: any jar files that got replaced by jh_generateorbitdir get recorded, so that jh_installeclipse can replace them with symlinks post install. teamwork!! π€
π FILES π
debian/eclipse.orbitdepsβ a list of orbit dependencies, one per line π you can use this as an alternative to passing the deps in per command line. so like, either vibe works, whichever you prefer bestie π
π OPTIONS π
--orbit-dir=dirβ specifies the directory from where the orbit-dir is (or should be) created ποΈ defaults todebian/.eclipse_build/orbitdeps. the default!! don't forget it β¨
π EXAMPLE π
jh_generateorbitdir --orbit-dir orbit asm3 oro
so this one generates a folder called orbit with two symlinks β one based on asm3 and one based on oro's symbolic name. two symlinks, one slay π¦π
π SEE ALSO π
this program is a part of javahelper and uses debhelper as its backend. very "borrowed the aux cord" energy ngl π
there are also tutorials in /usr/share/doc/javahelper if you want the full lore π iykyk
π AUTHOR π
Niels Thykier <niels@thykier.net> β the icon, the legend π
β 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. periodt π
and that's the whole page bestie!! π«Ά this was javahelper's 0.82 era, dated 2026-05-17, filed under the JH_GENERATEORBITDIR(1) manual. go make some orbit dirs, you've got this πβ¨π
π¦ 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