I'm currently working on self-tuning / configuring deployments for J2EE applications. My goal is to set up a deployment of Java, App Server, and application deployments every time. Unfortunately, I am facing problems automating the installation of java.
A java installation is provided as a self-extracting binary (e.g. jre-6u18-solaris-sparc.sh). The problem is when you run it, you will be asked to read the license agreement, and then enter yes / no.
In an attempt to automate, I decided that I would simply unzip the file using "unzip" and it would expand, but something should either go wrong or skip some of the steps that occur when the self-extracting file is executed. When I go to run java, it complains that the libraries are missing or other error messages.
Currently, we plan to work and download and install manually, then update the extracted content and place the modified distribution inside. Not perfect b / c. I no longer work with the source distribution from SUN.
java unix install
user130488
source share