From 1c610ebfa3d6b6af7b863ea1b9302ab0c2f720f3 Mon Sep 17 00:00:00 2001 From: DRC Date: Fri, 1 Apr 2011 01:21:22 +0000 Subject: [PATCH] Modify build instructions to reflect the fact that the Java front-end classes are now built along with the JNI wrapper --- BUILDING.txt | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/BUILDING.txt b/BUILDING.txt index 0af9fdf2..86ca1c99 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -126,10 +126,18 @@ disable encoding or decoding (respectively.) TurboJPEG/OSS JNI Wrapper ------------------------- -Add --with-jni to the configure command line to incorporate an optional Java -Native Interface wrapper into the TurboJPEG/OSS dynamic library. This allows -the dynamic library to be used directly from Java applications. See -java/README for more details. +Add --with-java to the configure command line to incorporate an optional Java +Native Interface wrapper into the TurboJPEG/OSS dynamic library and build the +Java front-end classes to support it. This allows the TurboJPEG/OSS dynamic +library to be used directly from Java applications. See java/README for more +details. + +You can set the JAVAC, JAR, and JAVA configure variables to specify +alternate commands for javac, jar, and java (respectively.) You can also +set the JAVACFLAGS configure variable to specify arguments that should be +passed to the Java compiler when building the front-end classes, and JNI_CFLAGS +to specify arguments that should be passed to the C compiler when building the +JNI wrapper. Run 'configure --help' for more details. ========================