Hi Greg,
yes, that was the problem.
I updated the dockerfile and added a simple example.
Tim
On 23/06/2015 03:21, Greg Landrum wrote:
Hi Tim,
This error is due to a bad interaction between ubuntu (probably
actually debian) and CMake.
The solution is to set the JAVA_HOME environment variable. Here's what
I have:
declare -x JAVA_HOME="/usr/lib/jvm/java-7-openjdk-amd64"
-greg
On Mon, Jun 22, 2015 at 3:55 PM, Tim Dudgeon <[email protected]
<mailto:[email protected]>> wrote:
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]
<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
------------------------------------------------------------------------------
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