Low level interface to Java