| Line | |
|---|
| 1 | $Id$ |
|---|
| 2 | |
|---|
| 3 | Building 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 | |
|---|
| 12 | Using 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.