rotate: fix autodetect for current rotation
rotate fixed autorotate again
env-prometheus: added java CLASSPATH