Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 
Sam Hocevar f32c24a10d build: fix the WTFPL homepage and copyright information. 12 år sedan
..
examples build: fix the WTFPL homepage and copyright information. 12 år sedan
org/zoy/caca build: fix the WTFPL homepage and copyright information. 12 år sedan
.gitignore Build Java examples and add wrapper scripts to run them. 15 år sedan
Makefile.am Fix distribution of Java source. 15 år sedan
README Large source code cleanup, getting rid of spaces, tabs, and svn keywords. 15 år sedan
caca_java_common.c build: fix the WTFPL homepage and copyright information. 12 år sedan
caca_java_common.h build: fix the WTFPL homepage and copyright information. 12 år sedan
org_zoy_caca_Attribute.c build: fix the WTFPL homepage and copyright information. 12 år sedan
org_zoy_caca_Caca.c build: fix the WTFPL homepage and copyright information. 12 år sedan
org_zoy_caca_Canvas.c build: fix the WTFPL homepage and copyright information. 12 år sedan
org_zoy_caca_Display.c build: fix the WTFPL homepage and copyright information. 12 år sedan
org_zoy_caca_Dither.c build: fix the WTFPL homepage and copyright information. 12 år sedan
org_zoy_caca_Event.c build: fix the WTFPL homepage and copyright information. 12 år sedan
org_zoy_caca_Font.c build: fix the WTFPL homepage and copyright information. 12 år sedan

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>