aleroot / DelphiJNI

A Delphi/Kylix JNI implementation .
30 stars 8 forks source link

DelphiJNI

A Delphi/Kylix Java Native Interface implementation .

This conversion library allows to call Java programs from Delphi and Delphi programs (.dll or .so) from Java. Data can be exchanged. Since Java programs are platform independent it also works for Linux.

The JNI_MD.INC file is the same for all versions (even Linux).

Installation

In order to install the library it is necessary to add the path of this library main folder to the delphi Library Path and to add the %JAVA_HOME%\bin\client and %JAVA_HOME%\bin to the PATH Environment variable(this is required since the library will attempt to load functions directly from JVM dlls).

To summarize a typical installation procedure on Embarcadero Delphi(Windows environment) looks like :