Manual Intellij setup for environment configuration of Apron
Configure the compile environment
Open "Project Structure"
Select Modules at the left panel
Dependencies tab
'+' → JARs or directories
Locate and choose "apron.jar" and "gmp.jar". For example, on my machine the path is "/nix/store/bwgwq2qkh9j3wrr5m6x6nmq86q4ppqsl-japron-1097/share/java/apron.jar"
Configure the test file
Click "Run -> Edit Configurations"
Add an environment variable named "DYLD_LIBRARY_PATH" (for Mac) or "LD_LIBRARY_PATH" (for Linux)
Set its value to the lib/ directory. For example, on my machine the value is "/nix/store/bwgwq2qkh9j3wrr5m6x6nmq86q4ppqsl-japron-1097/lib"
Manual Intellij setup for environment configuration of Apron