OS Manuals

/usr/bin/lock_jars

manage jar dependencies for gems and keep track which jar was already loaded using maven artifact coordinates. it warns on version conflicts and loads only ONE jar assuming the first one is compatible to the second one otherwise your project needs to lock down the right version by providing a Jars.lock file.

From ruby4.0-jar-dependencies 0.6.2-r0 (os), captured 2026-11-05 by running lock_jars --help (exit 1) · terse output. permalink

/usr/lib/ruby/4.0.0/rubygems.rb:265:in 'Gem.find_spec_for_exe': can't find gem jar-dependencies (>= 0.a) with executable lock_jars (Gem::GemNotFoundException)
	from /usr/lib/ruby/4.0.0/rubygems.rb:239:in 'Gem.find_and_activate_spec_for_exe'
	from /usr/lib/ruby/4.0.0/rubygems.rb:284:in 'Gem.activate_and_load_bin_path'
	from /usr/bin/lock_jars:25:in '<main>'

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.