Interfaces/Calling Java

From J Wiki
Jump to navigation Jump to search

Lastest update of Addons/general/pcall addon contains an example of calling Java from J session using Java Native Interface (JNI) directly, without any connecting DLLs.

Jni static.png

Native Windows front end of J (see syntax highliting) is calling Java (see Swing theme).

Information.png If jvm.dll is not found, specify it directly in LIB noun in jni.ijs.

Contributed by Oleg Kobchenko

Contributed by Oleg Kobchenko