[fpc-pascal] Using JNI in free pascal

Alan Krause alank at shermanloan.com
Thu Apr 24 18:12:18 CEST 2008


Has anyone used the Java Native Interface unit (JNI.pas, home page is 
http://www.pacifier.com/~mmead/jni/delphi/) to provide JNI access to a 
shared library under Linux?

I currently use it with Delphi to provide a JNI interface to a Windows 
DLL, and would like to do the same under Linux. Unfortunately, when fpc 
(version 2.2.0) tries to compile the JNI.pas, compilation is aborted 
with an access violation exception.

Any ideas?

Thanks much,
  Alan



More information about the fpc-pascal mailing list