An open API service indexing awesome lists of open source software.

https://github.com/qoretechnologies/module-jni

Qore Java JNI module
https://github.com/qoretechnologies/module-jni

Last synced: 5 months ago
JSON representation

Qore Java JNI module

Awesome Lists containing this project

README

          

JNI module for the Qore programming language.

http://qore.org

Building
--------

Requirements:
- CMake 3.5 or later
- Qore 2.0 or later
- Java JDK 21 or later
- BZip2 development libraries

To build:

mkdir build
cd build
cmake ..
make
sudo make install

macOS
-----

To ensure that JNI programs work on macOS, ensure that your installed JDK declares the
"BundledApp" and "JNI" capabilities in the Info.plist file for the installed JDK.

For example, the latest version for 1.8 is at the time of writing this part of the
README in the following file:

/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Info.plist

Edit the Info.plist file to look as follows:

JVMCapabilities

BundledApp
CommandLine
JNI

After this JNI programs should work normally.