Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-04

Using JNI in free pascal

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Alan Krause

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