Java with other imp