use folds
actually set JAVA_HOME based on java configured by update-alternatives
mod changes