argv minus one<p>If you are doing <a href="https://mastodon.sdf.org/tags/Java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Java</span></a> <a href="https://mastodon.sdf.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a>, and you've downloaded a jar of <a href="https://mastodon.sdf.org/tags/Javadoc" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Javadoc</span></a> documentation for some library, <a href="https://mastodon.sdf.org/tags/Firefox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Firefox</span></a> can directly display it without unpacking the jar!</p><p>Just prepend `jar:file://`, and append `!/index.html`, to form a URL.</p><p>For example, if the jar is located at:<br>/home/you/.m2/repository/com/example/example-library/1.0/example-library-1.0-javadoc.jar</p><p>Then use this URL:<br>jar:file:///home/you/.m2/repository/com/example/example-library/1.0/example-library-1.0-javadoc.jar!/index.html</p>