Javinla is a command-line tool to make an Java installation on your server very easy. You don't need to set ppa repositories (ubuntu/debian) or use aur packages (archlinux) and get latest java version. Just select the Java version you want to install and that's all.
The main goal is space-saving if you build docker images with Java. When I used PPA java repositories my docker images became over 600 MB with unnecessary data like fonts, x11 libs etc. Java Server JRE 7 is "only" 154 MB and I want keep my docker images as small as possible.
Once you're installed then you can used javinla install <java-version>
to
install selected JRE on you machine, e.g:
$ javinla install 8u92
... this will install selected 8u92 version under /opt/java...
To list all available Java versions to install, use javinla list
command:
$ javinla list
VERSION NUMBER URL
...
8u77 http://download.oracle.com/otn/java/jdk/8u77-b03/server-jre-8u77-linux-x64.tar.gz
8u91 http://download.oracle.com/otn-pub/java/jdk/8u91-b14/server-jre-8u91-linux-x64.tar.gz
8u92 http://download.oracle.com/otn-pub/java/jdk/8u92-b14/server-jre-8u92-linux-x64.tar.gz
...
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)See the LICENSE file for license rights and limitations (MIT).