Setting up Java project for monitoring