Installing java 8: Difference between revisions

From razwiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 16: 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)