X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=README;h=00262cdca37bd8e6a190522a53251fd0164aff85;hb=aec620258c1110cf27ae097c1e1a1303aff21d6c;hp=e4b4b2dbe6b99729ceba3f324216d09bd00df822;hpb=e1d54d118cce837805e62c7005c4f85ee2872920;p=yaz4j-moved-to-github.git diff --git a/README b/README index e4b4b2d..00262cd 100644 --- a/README +++ b/README @@ -13,16 +13,12 @@ The exact process varies from platform to platform. For example, on Ubuntu/Debian the following installs the components: apt-get install sun-java6-jdk maven2 libyaz3-dev swig -The compilation is a two-step process. The environment variable JAVA_HOME -should point to the Java JDK of your preference. For example, - export JAVA_HOME=/usr/lib/jvm/java-6-sun +The compilation for native code (JNI) is performed by good old make. +Adjust libyaz4j/Makefile as necessary. Tune JAVA_HOME and perhaps path to +yaz-config in the Makefile. -Build the shared libary (.so) with: - cd libyaz4j - ./build.sh - -Rest is built by maven which reads pom.xml: - cd .. +The Maven pom.xml will automatically invoke libyaz4j/Makefile , so +this is what it takes: mvn compile If you network-connected you should be able to run tests with: