How to call Java programs from Natural program

As of now i have Natural program calling COBOL program but COBOL programs are getting replaced with JAVA programs now. In this case how to call JAVA programs from Natural program ?