www.flickr.com

2007年5月23日 星期三

GeoTools Library安裝

使用 GeoTools 前需安裝 JAI
(http://java.sun.com/products/java-media/jai/current.html)

GeoTools免費 GIS 函式庫 http://geotools.codehaus.org/Home


安裝步驟:

下載maven 設定如下
Windows 2000/XP
Unzip maven-2.0.3-bin.zip to the directory you wish to install Maven 2.0.3. These instructions assume you chose C:\Program Files\Apache Software Foundation\maven-2.0.3
Add the bin directory to your path, by opening up the system properties (WinKey + Pause), selecting the "Advanced" tab, and the "Environment Variables" button, then editing the PATH variable in the user variables.
eg. "C:\Program Files\Apache Software Foundation\maven-2.0.3\bin";%PATH%
In the same dialog, make sure that JAVA_HOME is set to the location of your JDK, eg. C:\Program Files\Java\jdk1.5.0_02
Run mvn --version to verify that it is correctly installed.

下載Geotools 將 -bin及-src解壓縮到欲安裝Geotools的目錄
ex: c:\Geotools 2.2
開啟 windows命令提示字元
在 c:\Geotools 2.2 目錄下執行 mvn install

沒有留言: