Hi all,

I'm having problems building the java wrappers on Ubuntu with OpenJDK7.
This is the error I have:

-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- regex
-- Found SWIG: /usr/bin/swig2.0 (found version "2.0.12")
-- Found Java: /usr/bin/java (found version "1.7.0.79")
CMake Error at /usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
Could NOT find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY
JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH)
Call Stack (most recent call first):
/usr/share/cmake-3.0/Modules/FindPackageHandleStandardArgs.cmake:343 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.0/Modules/FindJNI.cmake:286 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
Code/JavaWrappers/gmwrapper/CMakeLists.txt:6 (find_package)


-- Configuring incomplete, errors occurred!

A Dockerfile that illustrates this can be found here:
https://github.com/tdudgeon/dockerfiles/blob/master/rdkit_java/Dockerfile

Anyone got any ideas?
(p.s. it also fails using OpenJDK8 with an additional error).

Tim


------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to