I've got a CentOS 6.5 application server that requires OpenJDK installed on it before JBoss can be manually loaded. I've never install Java / JBoss before and while I can just do the following and call it a day:
Code:
yum install java-1.7.0-openjdk.x86_64
I would like to download the tarball of this and install it manually. Currently the tarball is located in /tmp/ and I would like to know where in the Linux file structure hiarchy is it appropriate for me to install the JDK package in? I assume it goes "usually in /some/path/commonly/used" and then I can update my users .bashrc and add the path and export JAVA_HOME or something to that nature. Can anyone please help me struggling to do this correctly or guide me in the right direction?
Looking for help on where I extract this tarball and install the OpenJDK package and then reference it so my users can all access it.
Thank you!