So I am attempting to modify yuicompressor so I can use it and not spawn 10k instances of it while iterating over files (yes i know it takes a file list but i need to do pre-processing of each file).
$ sudo apt-get install openjdk-7-jdk
ant can't find tools.jar , ok
$ export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64
ok now ant build works, but
$ java -version
says i'm running 1.6 ... wtf ...
http://askubuntu.com/questions/141791/is-there-a-way-to-update-all-java-related-alternatives
ok, aparently there is a whole system of how to manage alternatives in ubuntu ... cool ...
$ java -version
1.7 ... nice :)