java to run metrics only