Installing java 8

From razwiki
Jump to navigation Jump to search

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)