[cmake-developers] Java support

CHEVRIER, Marc marc.chevrier at sap.com
Tue Aug 4 04:45:40 EDT 2015


Attached is a new version of patch 4 tested successfully on Linux (SuSE 11.3), Windows (7 64bit) and MacOS (10.10.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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Add-support-for-javah-tool.patch
Type: application/octet-stream
Size: 9751 bytes
Desc: 0004-Add-support-for-javah-tool.patch
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20150804/5c072e89/attachment-0001.obj>


More information about the cmake-developers mailing list