Installing java 8: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Ok so sdkman can do this, and it installs to /home/vagrant/.sdkman/candidates/java/current/bin/java Even man pages work. But why? MANPATH is not set... Also what are the...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
Even man pages work. But why? MANPATH is not set... |
Even man pages work. But why? MANPATH is not set... |
||
Edit: solved that mystery. <syntaxhighlight lang="text"> |
|||
path directory /home/vagrant/.sdkman/candidates/java/current/bin is not in the config file |
|||
adding /home/vagrant/.sdkman/candidates/java/current/man to manpath |
|||
</syntaxhighlight> |
|||
Also what are the steps to install java normally in debian? Somehow jvm ends up in |
Also what are the steps to install java normally in debian? Somehow jvm ends up in |
||
Line 11: | Line 16: | ||
and the binaries are linked into /usr/bin or somewhere on the PATH |
and the binaries are linked into /usr/bin or somewhere on the PATH |
||
For now, the requirements |
|||
- open licenses only, no catches |
|||
- install java to PATH |
|||
- install java man pages |
|||
- no frankendebian |
|||
- no unusual dependencies |
|||
- must work with fish |
|||
- must be uninstallable |
|||
- must be configured entirely upon shell startup |
|||
- minimal redirection |
|||
- must not take a long time (prefer not to compile) |
Latest revision as of 02:19, 26 January 2022
Ok so sdkman can do this, and it installs to
/home/vagrant/.sdkman/candidates/java/current/bin/java
Even man pages work. But why? MANPATH is not set...
Edit: solved that mystery.
path directory /home/vagrant/.sdkman/candidates/java/current/bin is not in the config file
adding /home/vagrant/.sdkman/candidates/java/current/man to manpath
Also what are the steps to install java normally in debian? Somehow jvm ends up in
/usr/lib/jvm
and the binaries are linked into /usr/bin or somewhere on the PATH
For now, the requirements
- open licenses only, no catches
- install java to PATH
- install java man pages
- no frankendebian
- no unusual dependencies
- must work with fish
- must be uninstallable
- must be configured entirely upon shell startup
- minimal redirection
- must not take a long time (prefer not to compile)