I'm currently working on self bootstrapping/configuring deployments for J2EE applications. My goal is to have the deployment install Java, App Server, and app deployment every time. Unfortunately I'm running into problems automating the java install.
The java install is provided as a self-extracting binary (ie. jre-6u18-solaris-sparc.sh). The problem is when you run it you get prompted to read the license agreement and then enter yes/no.
In an attempt to automate I figured I would just uncompress the file using "unzip" and it expands, but something must either go wrong or some steps get skipped that happen when the self-extracting file is executed. When I go to run java, it complains that libraries are missing or other various error messages.
My currently planned work around is to download and install manually, then zip up the extracted content and host the modified distribution internally. Not ideal b/c I'm no longer working with the original distribution from SUN.