Mercurial > hg > orthanc-java
diff Samples/FHIR/NOTES.txt @ 11:8d876a4f541b
added sample FHIR server
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 21 Oct 2023 09:53:25 +0200 |
parents | |
children | d7a55838d821 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Samples/FHIR/NOTES.txt Sat Oct 21 09:53:25 2023 +0200 @@ -0,0 +1,26 @@ + +This sample Java plugin runs a FHIR server based on the HAPI library. +Note that contrarily to the other samples that can run using Java 1.8, +this Java plugin requires Java 11. + +(1) Make sure to build the C++ plugin: + +# cd ../../Plugin/ +# mkdir Build +# cd Build +# cmake .. -DCMAKE_BUILD_TYPE=Release +# make -j4 + + +(2) Compile the Java plugin using Maven: + +# cd ../../Samples/FHIR +# mvn package + + +(3) Start Orthanc: + +On Ubuntu 22.04: + +# LD_LIBRARY_PATH=/usr/lib/jvm/java-11-openjdk-amd64/lib/server/ Orthanc ./configuration.json +