head: removed obsolete inreplace, bootstrap now needs explicit bin/sh
all: added java detection/requirement using usr/libexec/java_home