I'm automating the process of building development-VMs for a project and having a really hard time getting sun-java-6 to install in a non-interactive environment because it really wants to ask about licenses. what are my other options are far as clojure friendly javas go?
Any certified JVM should do the trick - e.g. JRockit. There's a list of JVMs here. Note that some of these are for embedded platforms and the like, so not applicable.
Hmm. Have you tried using the redistributable JRE? I know when I was writing an installer for some windows software, all you had to do was extract the directory structure and it would work just fine.
OpenJDK does not have a EULA and can be installed non-interactively. See also http://openjdk.java.net/install/
If I recall correctly the "accept the license" bit can be set explicitly as the output from the installation process says that the license has already been accepted at a later stage. Hence, look into the Ubuntu package and figure out how to do this.
I would not go the OpenJDK way as I do not believe it has passed the TCK yet.
EDIT: It appears that this is the way to do it:
DEBIAN_FRONTEND=noninteractive apt-get install -y java5-sun-jre || :
debconf 'echo SET shared/accepted-sun-dlj-v1-1 true; echo $(read) >&2'
apt-get install -y java5-sun-jre
http://ubuntuforums.org/showpost.php?p=6752243&postcount=9
With Ubuntu 9.04 at least I used OpenJDK and had no problems, though I never beat it up enough to say there were 0 problems, and this was before recent 1.1 RCs so things may have changed there as well. However it was perfectly usable and I doubt that has changed.