cloudfoundry/ibm-websphere-liberty-buildpack — pull request #47 by davidcurrie (2014-05-12 16:29:38+00:00)
Title: Copy JRE before installation

The JRE installer currently ignores the USER_INSTALL_DIR during the silent installation causing it to install in to the directory containing the .bin. This doesn't work when the .bin is part of the admin cache as this is read-only. This change copies the .bin to a temporary directory before installation. Note that it also does this in the case where the file is found in the application cache as I don't like the idea of unpacking the JRE in the cache directory.