I'm working with a virtual machine built on a basic linux kernel which runs a small disk image on it with few libraries. You can think of it as a bare-bones Linux with virtually nothing on it.
I am trying to install java onto the disk image and I've downloaded the .tar binaries file from Oracle's website. I extracted it, and mounted the folder to the disk image. When I boot up the virtual machine and use the bash command "java -version", I get the following error:
java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory
I'm quite sure I incorrectly installed java... it cant be as easy as drag and drop a few binaries, route the PATH=$PATH:"usr/java/bin", done... right?
The kernel doesn't have anything like "apt-get install" which would truly be easy.
Any suggestions / help with installing java using binaries?