add note for installation

This commit is contained in:
Taro L. Saito 2011-03-30 18:28:49 +09:00
parent ae91564b03
commit f0bd7ff3cd

16
INSTALL
View File

@ -1,12 +1,11 @@
[Installation note of snappy-jave] [Installation note of snappy-java]
-section: Requirements = Necessary libraries for building snappy-java =
Necessary libraries for building snappy-java:
[For all platforms] [For all platforms]
* Java 6 (JDK1.6) http://java.sun.com/ * Java 6 (JDK1.6) http://java.sun.com/
- set JAVA_HOME environment variable to the Java installation folder (e.g. C:/Program Files/Java/jdk1.6.0_24 in Windows) - set JAVA_HOME environment variable to the Java installation folder (e.g. JAVA_HOME=C:/Program Files/Java/jdk1.6.0_24 in Windows)
* Maven 3.x http://maven.apache.org/ * Maven 3.x http://maven.apache.org/
- mvn command - mvn command
@ -21,7 +20,7 @@ Necessary libraries for building snappy-java:
- x86_64-w64-mingw32-g++ - x86_64-w64-mingw32-g++
- x86_64-w64-mingw32-strip - x86_64-w64-mingw32-strip
(Do not use the Cygwin version of MinGW-w64, because it fails to build assemblies for 64bit environment) NOTICE: Do not use the Cygwin version of MinGW-w64. It fails to build assemblies for 64bit environment.
[Windows (32-bit)] [Windows (32-bit)]
* Install MinGW http://www.mingw.org/ * Install MinGW http://www.mingw.org/
@ -29,9 +28,12 @@ Necessary libraries for building snappy-java:
- mingw32-g++ - mingw32-g++
- strip - strip
-section: Building snappy-java = Building snappy-java =
To build jar file of snappy-java, type:
$ make $ make
The JAR package will be created as target/snappy-java-(version).jar. A native library for your machine environment and a jar package target/snappy-java-(version).jar will be produced in the target foldder.