{"id":2251,"date":"2021-08-18T13:38:46","date_gmt":"2021-08-18T13:38:46","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr\/java-libraries\/why-are-jar-files-problematic-in-mendix\/"},"modified":"2021-08-18T13:41:15","modified_gmt":"2021-08-18T13:41:15","slug":"why-are-jar-files-problematic-in-mendix","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr\/java-libraries\/why-are-jar-files-problematic-in-mendix","title":{"rendered":"Why are jar files problematic in Mendix?"},"content":{"rendered":"\n<p>The issue lies with how Mendix handles the Java dependency. Spoiler, they don\u2019t. Most Java dependencies are introduced by App Store content. To make developers&#8217; lives a bit easier, Mendix uses a <em>RequiredLib<\/em> file to indicate what jars are used for. See an example below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"340\" src=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2021\/08\/04c2a4e9-c191-425a-8960-f5d2b6a5bdbf-1024x340.png\" alt=\"\" class=\"wp-image-2253\" srcset=\"https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2021\/08\/04c2a4e9-c191-425a-8960-f5d2b6a5bdbf-980x326.png 980w, https:\/\/sdf-docs.clevr.com\/wp-content\/uploads\/2021\/08\/04c2a4e9-c191-425a-8960-f5d2b6a5bdbf-480x160.png 480w\" sizes=\"(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) and (max-width: 980px) 980px, (min-width: 981px) 1024px, 100vw\" \/><\/figure>\n\n\n\n<p>In the past, this was merely best practice, but it seems that it is more and more applied.<\/p>\n\n\n\n<p>Even though there are small improvements to the Java dependency handling over time, the result is that three pain points arise when using Java in Mendix.<\/p>\n\n\n\n<p>That&#8217;s where ACR comes into the picture. <\/p>\n","protected":false},"featured_media":0,"parent":2201,"menu_order":3,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-2251","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2251"}],"collection":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2251"}],"version-history":[{"count":2,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2251\/revisions"}],"predecessor-version":[{"id":2255,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2251\/revisions\/2255"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2201"}],"next":[{"title":"Feature overview","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr\/java-libraries\/overview","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2213"}],"prev":[{"title":"Why do you need a jar?","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr\/java-libraries\/why-do-you-need-a-jar","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/2248"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2251"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=2251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}