[cmake-developers] Improve JNI detection and fix Java testcase

Brad King brad.king at kitware.com
Tue Mar 26 08:30:25 EDT 2013


On 03/18/2013 02:59 PM, Andreas Schneider wrote:
> I've created two patches. The first improves the JNI find module to run the 
> java executable to determine the home. The seconds uses the find module to 
> detect jni for the Java testcase correctly.
> 
> You can find it here:
> 
> http://cmake.org/gitweb?p=stage/cmake.git;a=shortlog;h=refs/heads/fix_java_test

Will your new code that runs JAVA_EXE tolerate a cross-compiling case
where the exe cannot actually run on the host?

-Brad



More information about the cmake-developers mailing list