source: libcaca/trunk/java/README @ 4197

Last change on this file since 4197 was 4197, checked in by Sam Hocevar, 13 years ago

Java bindings, courtesy of Adrien Grand <jpountz@dinauz.org>.

File size: 494 bytes
Line 
1$Id$
2
3Building the libcaca Java bindings
4
5   o In the configure step, ensure the --enable-java flag is turned on.
6
7   o `make install` will install:
8      - libjava.so in ${libdir}/jni,
9      - libjava.jar in ${datadir}/java.
10
11
12Using the libcaca Java bindings
13
14   o Look into examples/ for source code examples.
15
16   o Running an application which uses the libcaca Java bindings:
17
18     java -Djava.library.path=${libdir}/jni \
19          -cp ${datadir}/java/libjava.jar:<classpath> <class name>
20
Note: See TracBrowser for help on using the repository browser.