look in /usr/lib/jvm/java-6-sdk as well, since that's where the old ubuntu has the sdk; also print the error message regardless of platform