How to compile imageJ1.1 in Centos6.5

I have compiled three plugins but when I want to use OrthancImageJ-1.1,I meet a problem

camke message:

– The C compiler identification is GNU 4.4.7
– The CXX compiler identification is GNU 4.4.7
– Check for working C compiler: /usr/bin/cc
– Check for working C compiler: /usr/bin/cc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
– Found Java: /usr/java/jdk1.8.0_161/bin/java (found version “1.8.0.161”)
– Configuring done
– Generating done
CMake Warning:
Manually-specified variables were not used by the project:

ALLOW_DOWNLOADS
STANDALONE_BUILD
STATIC_BUILD
USE_SYSTEM_BOOST
USE_SYSTEM_DCMTK
USE_SYSTEM_GOOGLE_TEST
USE_SYSTEM_JSONCPP
USE_SYSTEM_LIBJPEG
USE_SYSTEM_MONGOOSE
USE_SYSTEM_PUGIXML
USE_SYSTEM_SQLITE

– Build files have been written to: /home/orthanc/Desktop/OrthancBuild/orthanc-plugins/OrthancImageJ-1.1

error message:

Scanning dependencies of target Orthanc_Import
[ 33%] Building Java objects for Orthanc_Import.jar
warning: [options] bootstrap class path not set in conjunction with -source 1.6
/home/orthanc/Desktop/OrthancBuild/orthanc-plugins/OrthancImageJ-1.1/com/orthancserver/DicomDecoder.java:23: error: package ij does not exist
import ij.ImagePlus;
^
/home/orthanc/Desktop/OrthancBuild/orthanc-plugins/OrthancImageJ-1.1/com/orthancserver/DicomDecoder.java:24: error: package ij does not exist
import ij.ImageStack;
^
/home/orthanc/Desktop/OrthancBuild/orthanc-plugins/OrthancImageJ-1.1/com/orthancserver/DicomDecoder.java:25: error: package ij.process does not exist
import ij.process.ImageProcessor;

I have mkdir the “.imagej/plugins/ ” and put the most recent “.jar” into the folder , please help !

this is my camke command:
cmake -DSTATIC_BUILD=ON -DALLOW_DOWNLOADS=ON -DUSE_SYSTEM_JSONCPP=OFF -DUSE_SYSTEM_MONGOOSE=OFF -DUSE_SYSTEM_PUGIXML=OFF -DUSE_SYSTEM_SQLITE=OFF -DUSE_SYSTEM_BOOST=OFF -DUSE_SYSTEM_DCMTK=OFF -DUSE_SYSTEM_GOOGLE_TEST=OFF -DUSE_SYSTEM_LIBJPEG=OFF -DCMAKE_BUILD_TYPE=Debug -DSTANDALONE_BUILD=ON

在 2018年4月9日星期一 UTC+8下午9:16:01,4599…@qq.com写道:

You first have to install the ImageJ package in CentOS, then make sure the “ij.jar” is in the default Java classpath (otherwise, set the “-DCMAKE_JAVA_INCLUDE_PATH” while invoking CMake):
https://imagej.nih.gov/ij/download.html

very thanks,before I dont konw imageJ

在 2018年4月9日星期一 UTC+8下午10:24:32,Sébastien Jodogne写道: