add installation note

This commit is contained in:
Taro L. Saito 2011-03-30 16:17:20 +09:00
parent 71d064b8c5
commit ba55909637
2 changed files with 43 additions and 0 deletions

37
INSTALL Executable file
View File

@ -0,0 +1,37 @@
[Installation note of snappy-jave]
-section: Requirements
Necessary libraries for building snappy-java:
[For all platforms]
* 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)
* Maven 3.x http://maven.apache.org/
- mvn command
[Windows (32/64bit)]
* GNU make
* tar, curl, cp, rm commands (I use Cygwin for building snappy-java in Windows)
[Windows (64-bit)]
* Download MinGW-w64 http://sourceforge.net/projects/mingw-w64/
* Set PATH to the following commands in the downloaded archive:
- x86_64-w64-mingw32-g++
- x86_64-w64-mingw32-strip
(Do not use the Cygwin version of MinGW-w64, because it fails to build assemblies for 64bit environment)
[Windows (32-bit)]
* Install MinGW http://www.mingw.org/
* Set PATH to the following command in MinGW package
- mingw32-g++
- strip
-section: Building snappy-java
$ make
The JAR package will be created as target/snappy-java-(version).jar.

6
README Executable file
View File

@ -0,0 +1,6 @@
[usage]
* Add snappy-java-1.0.1.jar to your classpath