6 You will need the JDK, Maven, Swig and YAZ development packages.
7 Consult your package manager on how to install those.
9 'yaz-config' is assumed to be on the PATH, if it isn't or if local yaz
10 installation is to be used, its location can be forced with:
12 mvn -Dyaz.config=/path/to/yaz-config install
18 Besides the exact same requirements as in the Unix case, you will need
19 the Windows SDK installed (which in turn requires .NET Framework 4).
21 Sensible default is assumed for 'yaz.path' but the 'swig' binary path has
22 hard-coded version number (see yaz4j/pom.xml) which most likely will need to
23 be updated to match your Swig version. Both can be overriden through:
25 mvn -Dyaz.path=/path/to/yaz/installation -Dswig=/path/to/swig/binary install
27 Use the command prompt provided with the Windows SDK.
30 RUNNING A TEST PROGRAM
32 A trivial test program is included in the yaz4.jar, you can invoke it to check
33 the sanity of your yaz4j compilation/installation. On Windows, the YAZ/bin
34 directory (default "C:\Porgam Files\YAZ\bin", if you are using YAZ installer)
35 MUST be on the PATH, otherwise dependent shared libraries will fail to load.
38 java -Djava.library.path=/path/to/yaz4j/dll/or/so/dir -jar any/target/yaz4j.jar
40 Where "/path/to/yaz4j/dll/or/so/dir" points to the directory containing the
41 native yaz4j libary (Windows -> yaz4j/win32/target, Unix -> yaz4j/unix/target).
42 You can omit this flag, if your yaz4j.dll/so is already available on the
48 The following is most probably already outdated, consult Google.
51 http://www.oracle.com/technetwork/java/javase/downloads/index.html
54 http://maven.apache.org/download.cgi
57 http://www.swig.org/download.html
60 http://www.indexdata.com/yaz
63 http://www.microsoft.com/en-us/download/details.aspx?id=8279