Sam Hocevar a521524634 Fix distribution of Java source. 15 jaren geleden
..
examples Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden
org/zoy/caca Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden
.gitignore Build Java examples and add wrapper scripts to run them. 15 jaren geleden
Makefile.am Fix distribution of Java source. 15 jaren geleden
README Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden
caca_java_common.c Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden
caca_java_common.h Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden
org_zoy_caca_Attribute.c Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden
org_zoy_caca_Caca.c Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden
org_zoy_caca_Canvas.c Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden
org_zoy_caca_Display.c Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden
org_zoy_caca_Dither.c Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden
org_zoy_caca_Event.c Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden
org_zoy_caca_Font.c Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 jaren geleden

README


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>