Adding the idleness detector and jre dependency