samples: super-pm defining java and logging