Still no joy.
I tried adding this to the CMakeLists.txt files in the top level dir and
in Code/JavaWrappers/ but it seem to have no effect.
I'm no cmake expert so I might not be doing this right.
Tim
On 03/01/2020 21:15, Paolo Tosco wrote:
Hi Tim,
based on
I've only built on Linux so can't comment on what works on Mac.
Here is an example Dockerfile that builds pretty well everything:
https://github.com/InformaticsMatters/docker-rdkit/blob/master/Dockerfile-build-debian#L70-L81
On 06/01/2020 06:17, Francois Berenger wrote:
Hi Tim,
How do you
Hi Tim,
How do you compile rdkit for Java?
Last time I tried on a Mac, it did not work:
https://github.com/rdkit/homebrew-rdkit/issues/38
Thanks a lot,
F.
On 26/12/2019 23:22, Tim Dudgeon wrote:
When building the Java wrappers from source (the
-DRDK_BUILD_SWIG_WRAPPERS=ON option) is possible
Hi Tim,
based on
https://cmake.org/cmake/help/latest/module/UseJava.html
set(CMAKE_JAVA_COMPILE_FLAGS"-source 8")
might do the trick.
Cheers,
p.
On 03/01/2020 17:41, Tim Dudgeon wrote:
Hi Paolo,
I'm afraid that's not working for me. Still getting Java11 class files.
My cmake command is:
Hi Paolo,
I'm afraid that's not working for me. Still getting Java11 class files.
My cmake command is:
cmake -Wno-dev\
-DPYTHON_EXECUTABLE=/usr/bin/python3\
-DRDK_BUILD_INCHI_SUPPORT=ON\
-DRDK_BUILD_AVALON_SUPPORT=ON\
-DRDK_BUILD_PYTHON_WRAPPERS=ON\
-DRDK_BUILD_SWIG_WRAPPERS=ON\
Hi Tim,
Try adding this to your CMake command:
-DJAVA_COMPILE="/usr/bin/javac -source 8"
Cheers,
p.
On 26/12/2019 15:22, Tim Dudgeon wrote:
When building the Java wrappers from source (the
-DRDK_BUILD_SWIG_WRAPPERS=ON option) is possible to specify options to
pass on to javac.
When building the Java wrappers from source (the
-DRDK_BUILD_SWIG_WRAPPERS=ON option) is possible to specify options to
pass on to javac.
Specifically I'm wanting to use the '-source 8' option as most distros
now come with java11 (and make it difficult to install an earlier one)
but I want
7 matches
Mail list logo