partial on Java embed