add java melody monitoring