aboutsummaryrefslogtreecommitdiff
path: root/BUILDING.txt
diff options
context:
space:
mode:
authordcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2011-04-02 05:17:12 +0000
committerdcommander <dcommander@632fc199-4ca6-4c93-a231-07263d6284db>2011-04-02 05:17:12 +0000
commit3fd359648a891453148e7a39da2b0bc717f95db7 (patch)
tree9ca7d0b2dcb48aa98249fab40af5d92c2993d1aa /BUILDING.txt
parentf730f0a5c20eea166e17a0211c8ea2c65f98f897 (diff)
Change build instructions and README to reflect the fact that the Java front-end classes are now part of the build and distribution
git-svn-id: svn://svn.code.sf.net/p/libjpeg-turbo/code/trunk@563 632fc199-4ca6-4c93-a231-07263d6284db
Diffstat (limited to 'BUILDING.txt')
-rw-r--r--BUILDING.txt40
1 files changed, 18 insertions, 22 deletions
diff --git a/BUILDING.txt b/BUILDING.txt
index 86ca1c9..1338442 100644
--- a/BUILDING.txt
+++ b/BUILDING.txt
@@ -30,12 +30,13 @@ Build Requirements
-- GCC v4.1 or later recommended for best performance
--- If building the TurboJPEG/OSS JNI wrapper, jni.h is required. Some systems,
- such as OS X 10.4 and Solaris 10, have this header pre-installed. On OS X
- 10.5 and later, the header can be obtained by installing the Java Developer
- Package, which can be downloaded from http://connect.apple.com. On Linux
- and other systems, the header can be obtained by installing the GCJ
- (GCC-Java) development packages or the Oracle Java Development Kit (JDK).
+-- If building the TurboJPEG/OSS Java wrapper, JDK or OpenJDK 1.5 or later is
+ required. Some systems, such as OS X 10.4, Solaris 10 and later, and Red
+ Hat Enterprise Linux 5 and later, have this pre-installed. On OS X 10.5 and
+ later, it will be necessary to install the Java Developer Package, which can
+ be downloaded from http://connect.apple.com. For systems that do not have a
+ JDK installed, you can obtain the Oracle Java Development Kit from
+ http://www.java.com.
==================
@@ -124,8 +125,8 @@ add --without-arith-enc or --without-arith-dec to the configure command line to
disable encoding or decoding (respectively.)
-TurboJPEG/OSS JNI Wrapper
--------------------------
+TurboJPEG/OSS Java Wrapper
+--------------------------
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
@@ -318,14 +319,8 @@ Build Requirements
-- NASM (http://www.nasm.us/) 0.98 or later (NASM 2.05 or later is required for
a 64-bit build)
--- If building the TurboJPEG/OSS JNI wrapper, jni.h is required. This header
- can be obtained by installing the Oracle Java Development Kit (JDK).
- * If using Visual C++, then add the appropriate Java include directories
- (Example: c:\Program Files\Java\jdk1.6.0_23\include;c:\Program Files\Java\jdk1.6.0_23\include\win32)
- to the INCLUDE environment variable prior to building libjpeg-turbo.
- * If using MinGW, then add the appropriate Java include directories
- (Example: /c/Program Files/Java/jdk1.6.0_23/include:/c/Program Files/Java/jdk1.6.0_23/include/win32)
- to the CPATH environment variable prior to building libjpeg-turbo.
+-- If building the TurboJPEG/OSS Java wrapper, JDK 1.5 or later is required.
+ This can be downloaded from http://www.java.com.
==================
@@ -466,12 +461,13 @@ add "-DWITH_ARITH_ENC=0" or "-DWITH_ARITH_DEC=0" to the cmake command line to
disable encoding or decoding (respectively.)
-TurboJPEG/OSS JNI Wrapper
--------------------------
-Add "-DWITH_JNI=1" to the cmake 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.
+TurboJPEG/OSS Java Wrapper
+--------------------------
+Add "-DWITH_JAVA=1" to the cmake 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.
========================