Either download or build the JNI DLL and dependent DLL files.
The JNI DLL requires the generated DLL files to be in your system PATH.
On Windows:
- fmt.dll (fmtd.dll in Debug mode)
- glfw3.dll
Temporary (Command Prompt):
set PATH=%PATH%;C:\path\to\dlls\folder
Temporary (PowerShell):
$env:PATH += ";C:\path\to\dlls\folder"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/dlls/folder
No need to run batch/bash files if you already installed gradle globally
.\gradlew.bat runMain
./gradlew runMain
./gradlew runMain --info
# For detailed build information
./gradlew clean runMain
# For clean build
(assuming ./native/build/Debug
is where the JNI DLL has been generated)
java -Djava.library.path=./native/build/Debug -cp "build/classes/java/main;~/.m2/repository/org/json/json/20201115/json-20201115.jar" dev.xframes.XFramesWrapper
Java, OpenJDK 23, Windows 11