[cmake-developers] Java support

CHEVRIER, Marc marc.chevrier at sap.com
Tue Aug 4 02:50:17 EDT 2015


Thanks.

I will have a look for the patch 4.

Marc




On 03/08/15 22:17, "Brad King" <brad.king at kitware.com> wrote:

>On 07/31/2015 04:08 AM, CHEVRIER, Marc wrote:
>> New version of patches.
>
>Thanks.
>
>I applied the first three with minor tweaks and merged to 'next'
>for testing:
>
> FindJava: Add support for idlj and jarsigner tools
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=7e499264
>
> UseJava: Teach add_jar to support file syntax for sources
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=244e9364
>
> UseJava: Teach install_jar new DESTINATION and COMPONENT options
> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=8f8d824d
>
>The 0004 patch (create_javah) fails testing for me on Linux:
>
> $ ctest -R Java.Javah -V
> ...
> 261: Running test command: "/usr/lib/jvm/java-7-openjdk-amd64/bin/java" "-classpath" "hello3.jar" "HelloWorld2"
> 261: Test command failed: /usr/lib/jvm/java-7-openjdk-amd64/bin/java
> 261: Native code library failed to load.
> 261: java.lang.UnsatisfiedLinkError: no B in java.library.path
> ...
>
>Thanks,
>-Brad
>


More information about the cmake-developers mailing list