Java library with JNI native library bindings for FUSE https://github.com/libfuse/libfuse
- Install CMake
- on Ubuntu:
sudo apt install cmakeorsudo snap install cmake
- on Ubuntu:
- Install fuse3
- on Ubuntu:
sudo apt install fuse3
- on Ubuntu:
- Open command prompt in the project directory and run the following commands:
cmake -H./native -B./native/buildcmake --build ./native/build --config Releasecp ./native/build/libfuse4j.so ./src/main/resources/one/papachi/fuse4j
- Install JDK 17
- on Ubuntu:
sudo apt install openjdk-17-jdk
- on Ubuntu:
- Install maven
- on Ubuntu:
sudo apt install maven
- on Ubuntu:
- Open command prompt in the project directory and run the following commands:
mvn install
If you are using maven as your build tool, you can reference the library in your pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>one.papachi</groupId>
<artifactId>example</artifactId>
<version>1.0.0</version>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>one.papachi</groupId>
<artifactId>fuse4j</artifactId>
<version>1.0.0</version>
</dependency>
</dependencies>
</project>