A Java erasure codes wrapper library for Jerasure(http://jerasure.org/)
git clone [email protected]:jerasure/gf-complete.git
cd gf-complete
./autogen.sh
./configure
make
sudo make install
git clone [email protected]:jerasure/jerasure.git
cd jerasure
autoreconf --force --install -I m4
./configure
make
sudo make install
<groupId>com.xiaomi.infra</groupId>
<artifactId>java-erasure</artifactId>
<version>1.0-SNAPSHOT</version>
mvn clean package
Add the following system property to your application:
Mac OS: -Djna.library.path=${path_to_libJerasure.dylib}
Linux: -Djna.library.path=${path_to_libJerasure.so}
Windows: -Djna.library.path=${path_to_libJerasure.dll}
Then run your application.