Build all Java app.
make javaApp
Generate header file from java class. This java class need to represent .c
file (Ex: HelloWord.java
represent HelloWord.c
).
make generateH
Make the C file (libHelloWorld.so
).
make
Run the java app.
make run
or manually
cd build/class
java -cp . -Djava.library.path=../obj Main
Clean all .class
and .so
files.
make clean
Clean all files and clean C header file generate by java (Ex: HelloWorld.h
).
make cleanAll