You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Sam Hocevar f039d3e4f4 Move conditional java targets to the top of Makefile.am. 15 年之前
..
examples Build Java examples and add wrapper scripts to run them. 15 年之前
org/zoy/caca Build Java examples and add wrapper scripts to run them. 15 年之前
.gitignore Build Java examples and add wrapper scripts to run them. 15 年之前
Makefile.am Move conditional java targets to the top of Makefile.am. 15 年之前
README Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>. 15 年之前
caca_java_common.c Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>. 15 年之前
caca_java_common.h Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>. 15 年之前
org_zoy_caca_Attribute.c Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>. 15 年之前
org_zoy_caca_Caca.c Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>. 15 年之前
org_zoy_caca_Canvas.c Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>. 15 年之前
org_zoy_caca_Display.c Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>. 15 年之前
org_zoy_caca_Dither.c Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>. 15 年之前
org_zoy_caca_Event.c Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>. 15 年之前
org_zoy_caca_Font.c Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>. 15 年之前

README

$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>