Sam Hocevar f039d3e4f4 | 15 lat temu | |
---|---|---|
.. | ||
examples | 15 lat temu | |
org/zoy/caca | 15 lat temu | |
.gitignore | 15 lat temu | |
Makefile.am | 15 lat temu | |
README | 15 lat temu | |
caca_java_common.c | 15 lat temu | |
caca_java_common.h | 15 lat temu | |
org_zoy_caca_Attribute.c | 15 lat temu | |
org_zoy_caca_Caca.c | 15 lat temu | |
org_zoy_caca_Canvas.c | 15 lat temu | |
org_zoy_caca_Display.c | 15 lat temu | |
org_zoy_caca_Dither.c | 15 lat temu | |
org_zoy_caca_Event.c | 15 lat temu | |
org_zoy_caca_Font.c | 15 lat temu |
$Id$
Building the libcaca Java bindings
o In the configure step, ensure the --enable-java flag is turned on.
o `make install` will install:
- libjava.so in ${libdir}/jni,
- libjava.jar in ${datadir}/java.
Using the libcaca Java bindings
o Look into examples/ for source code examples.
o Running an application which uses the libcaca Java bindings:
java -Djava.library.path=${libdir}/jni \
-cp ${datadir}/java/libjava.jar:<classpath> <class name>