1 diff --git a/build.xml b/build.xml
2 index 1ba08e0..9248b76 100644
7 <target name="compilejni" unless="isWindows">
8 <description>JNI compilation task (builds libarecafs.so ... for unix-like operating systems only)</description>
10 <!--Generate the JNI header-->
11 - <javah destdir="${root}/jni" force="yes" classpath="${root}/lib/areca.jar">
12 - <class name="com.myJava.file.metadata.posix.jni.wrapper.FileAccessWrapper"/>
14 + <exec executable="javah">
16 + <arg value="${root}/jni"/>
17 + <arg value="-force"/>
18 + <arg value="-classpath"/>
19 + <arg value="${root}/lib/areca.jar"/>
20 + <arg value="com.myJava.file.metadata.posix.jni.wrapper.FileAccessWrapper"/>
23 <!-- Compile the JNI code -->
24 <exec dir="${root}/jni" executable="gcc">