# Limit native dependencies to one platform

**URL:** <https://community.konduit.ai/t/limit-native-dependencies-to-one-platform/1998>\
**Category:** ND4J\
**Created:** [September 4, 2022, 4:55pm UTC](https://community.konduit.ai/t/limit-native-dependencies-to-one-platform/1998 "2022-09-04T16:55:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![sogawa-sps](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.konduit.ai/sogawa-sps/32/44_2.png) [@sogawa-sps](https://community.konduit.ai/u/sogawa-sps)\
**Post date:** [September 5, 2022, 4:02pm UTC](https://community.konduit.ai/t/limit-native-dependencies-to-one-platform/1998/3 "2022-09-05T16:02:11Z")

</div>

Thank you for explanation about classifier, it’s clear now.

I returned to the " -Djavacpp.platform=windows-x86\_64" option and found out why it’s not worked. The issue was in Powershell that I used to to run mvn command (it looks like it swallows “-D”). I switched to cmd and it worked like a charm for all dependencies both direct and inderect. WAR size is 290 MB now.

---

_[View the full topic](https://community.konduit.ai/t/limit-native-dependencies-to-one-platform/1998)._
