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_generateorbitdir will 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_generateorbitdir assumes 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 to debian/.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 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