[cmake-developers] Java support

Brad King brad.king at kitware.com
Wed Aug 5 11:49:08 EDT 2015


On 08/05/2015 03:15 AM, CHEVRIER, Marc wrote:
> For point 2., The best approach is to install 32 and 64bit
> versions of Java SDK (Windows versions, not some cygwin or
> MSYS versions) and ensure JAVA_HOME is NOT set in the
> environment nor referenced in the PATH. In this case, CMake
> FindJava.cmake module will look at the registry to retrieve
> the correct java version.

CMake's test suite needs to adapt to the environment in which
it is run and not run this test unless the architecture of
java and the toolchain match.  Certainly we can set up an
environment in which it works but we should not fail just
because that hasn't been done.

On 08/05/2015 06:24 AM, CHEVRIER, Marc wrote:
> Again, a new version for patch 4.

Thanks.  I'd prefer not to enable CXX as a language in the
project() command such that it affects the other Java tests.
Please create a separate source tree for the new test.  Sorry
I didn't notice this earlier.

Meanwhile the other three patches now tested cleanly.

Thanks,
-Brad


More information about the cmake-developers mailing list