I'm installing the Java JDK manually, by downloading the JDK tar archive from java.com, extracting it into /usr/lib/jvm/jdk1.6.0_32
(also the OpenJDK installation location via apt), and using update-alternatives to add all the java binaries to /usr/bin
.
I'd also like to the install the Java man pages system-wide in /usr/lib/jvm/jdk1.6.0_32/man/man1
, preferably using that same update-alternatives script, but not sure how.
I've tried soft linking /usr/lib/jvm/jdk1.6.0_32/man/man1
as /usr/share/man/man.java
, but no luck, man java
doesn't work. Running man --update
and mandb
don't seem to do anything.
Anyone know how to manually install man packages?
/usr/lib/jvm/jdk1.6.0_32/man/man1
as/usr/share/man/man10
(10 is next in the list, there is already/usr/share/man/man1-man9
). Is that the cannonical way of manually installing man pages, or is there something else? Not sure what the naming convention is for /usr/share/man; why doesman10
work but notman.java
?/usr/share/man/man20
doesn't work either.