Monitors java