<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Deploy a JavaFX App with IntelliJ IDEA in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/deploy-a-javafx-app-with-intellij-idea/m-p/689500#M2090</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, worked like a charm. I did add a line of code to the launcher and then the jar worked. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;SPAN style="display: inline !important; float: none; background-color: #2b2b2b; color: #a9b7c6; font-family: 'Consolas'; font-size: 9.8pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;ArcGISRuntimeEnvironment.&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;setInstallDirectory&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #2b2b2b; color: #a9b7c6; font-family: 'Consolas'; font-size: 9.8pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"Path_To/arcgis-runtime-sdk-java-100.7.0"&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #2b2b2b; color: #a9b7c6; font-family: 'Consolas'; font-size: 9.8pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;&lt;/SPAN&gt;

&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 05:00:59 GMT</pubDate>
    <dc:creator>thomasbales</dc:creator>
    <dc:date>2021-12-12T05:00:59Z</dc:date>
    <item>
      <title>Deploy a JavaFX App with IntelliJ IDEA</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/deploy-a-javafx-app-with-intellij-idea/m-p/689498#M2088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not able to create an artifact using JetBrain's IntelliJ IDEA using java 11.&amp;nbsp; Below is a link to the problem. Is there a work around? Do I need to go back to Java 8 and 100.4, which would suck because I have queries and futures built into my app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.jetbrains.com/help/idea/packaging-javafx-applications.html" title="https://www.jetbrains.com/help/idea/packaging-javafx-applications.html"&gt;Package JavaFX applications - Help | IntelliJ IDEA&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Feb 2020 19:12:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/deploy-a-javafx-app-with-intellij-idea/m-p/689498#M2088</guid>
      <dc:creator>thomasbales</dc:creator>
      <dc:date>2020-02-18T19:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy a JavaFX App with IntelliJ IDEA</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/deploy-a-javafx-app-with-intellij-idea/m-p/689499#M2089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tom,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've looked at the link and have noticed a misleading&amp;nbsp;statement at the top of the page which states:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;"Packaging a JavaFX application in a &lt;SPAN&gt;.jar&lt;/SPAN&gt; is possible only with Java 8."&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;This probably only applies to creating the .jar using the IDE UI.&amp;nbsp; Don't worry your work in Java 11 most certainly CAN be turned into a runnable jar.&amp;nbsp; Absolutely no need to go back to Java 8 and 100.4 this would be a backwards step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would encourage you to look at how we have achieved this in our sample applications where we have used gradle build scripts.&amp;nbsp; This approach is best as the build scripts can be used inside your CI build process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The git repository is here: &lt;A href="https://github.com/Esri/arcgis-runtime-samples-java"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline; "&gt;https://github.com/Esri/arcgis-runtime-samples-java&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd suggest loading up this app directly in IJ &lt;A href="https://github.com/Esri/arcgis-runtime-samples-java/tree/master/map/display-map"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline; "&gt;https://github.com/Esri/arcgis-runtime-samples-java/tree/master/map/display-map&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using gradle window&amp;nbsp;you can run the app by using application -&amp;gt; run&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you are happy it works build the jar in gradle window using build-&amp;gt; jar.&amp;nbsp; The resulting jar file will be in the build/libs folder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The jar won't work on its own as you will need the native libraries for your chosen platform which is documented here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/java/latest/guide/deploy-your-app.htm"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline; "&gt;https://developers.arcgis.com/java/latest/guide/deploy-your-app.htm&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2020 11:58:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/deploy-a-javafx-app-with-intellij-idea/m-p/689499#M2089</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2020-02-19T11:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy a JavaFX App with IntelliJ IDEA</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/deploy-a-javafx-app-with-intellij-idea/m-p/689500#M2090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, worked like a charm. I did add a line of code to the launcher and then the jar worked. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;SPAN style="display: inline !important; float: none; background-color: #2b2b2b; color: #a9b7c6; font-family: 'Consolas'; font-size: 9.8pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;ArcGISRuntimeEnvironment.&lt;/SPAN&gt;&lt;SPAN style="font-style: italic;"&gt;setInstallDirectory&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #2b2b2b; color: #a9b7c6; font-family: 'Consolas'; font-size: 9.8pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;"Path_To/arcgis-runtime-sdk-java-100.7.0"&lt;/SPAN&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #2b2b2b; color: #a9b7c6; font-family: 'Consolas'; font-size: 9.8pt; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px;"&gt;)&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;&lt;/SPAN&gt;

&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:00:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/deploy-a-javafx-app-with-intellij-idea/m-p/689500#M2090</guid>
      <dc:creator>thomasbales</dc:creator>
      <dc:date>2021-12-12T05:00:59Z</dc:date>
    </item>
  </channel>
</rss>

