Code to connect to THETA is below.
import org.theta4j.Theta; try (Theta theta = new Theta()) { // ... Manipulate theta ... }