Create Java TextProcess