<?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: How can i config arcgis runtime for java？ in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/how-can-i-config-arcgis-runtime-for-java/m-p/1081652#M2421</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the ArcGIS Runtime for Java is missing from the machine you are using: are you running the downloaded solution for the tutorial from your machine, or following the tutorial instructions step by step?&lt;/P&gt;&lt;P&gt;For both scenarios, try running the `copyNatives` gradle task. This should copy Runtime into an `.arcgis` directory on your machine. Can you see Runtime in there at all? If you open `.arcgis` up you should see a `100.11.0` folder and within that a jniLibs and resources folder.&lt;/P&gt;</description>
    <pubDate>Thu, 22 Jul 2021 08:42:26 GMT</pubDate>
    <dc:creator>RachaelE</dc:creator>
    <dc:date>2021-07-22T08:42:26Z</dc:date>
    <item>
      <title>How can i config arcgis runtime for java？</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-can-i-config-arcgis-runtime-for-java/m-p/1081614#M2417</link>
      <description>&lt;P&gt;first，thanks for watching.&lt;/P&gt;&lt;P&gt;details is following:&lt;/P&gt;&lt;P&gt;i'm trying to carry out the official sites's tutorials case - [maps2d&amp;gt;tutorials&amp;gt;display a map] &lt;A title="case" href="https://developers.arcgis.com/java/maps-2d/tutorials/display-a-map/" target="_blank" rel="noopener"&gt;links.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;then i had some problems and i sloves them by means of the internet. it seems like everything looks going well.&lt;/P&gt;&lt;P&gt;but , I was in a trouble while i try to run it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it seems to be related to arcgis runtime .the error prompt is following.&lt;/P&gt;&lt;P&gt;and i'm using is that jdk11、javafx11,all are the latest in reference to the official website's doc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Initializing...&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Java version : 15.0.2 (Oracle Corporation) amd64&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Exception in Application start method&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Exception in Application stop method&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Exception in thread "main" java.lang.RuntimeException: Exception in Application start method&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:900)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at java.base/java.lang.Thread.run(Thread.java:832)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Caused by: java.lang.ExceptionInInitializerError&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.esri.arcgisruntime.mapping.view.MapView.create(MapView.java:93)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.esri.arcgisruntime.mapping.view.MapView.&amp;lt;init&amp;gt;(MapView.java:87)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at cn.fc88804.arcgis.App.start(App.java:47)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:846)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:455)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:428)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:427)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:174)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;... 1 more&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Caused by: java.lang.RuntimeException: Could not find runtime in any of:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;- A directory specified by calling ArcGISRuntimeEnvironment.setInstallDirectory()&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;- The current directory D:\WorkSpace\Spring Tool Suits\sts_workspace\ArcGis&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;- A location specified by the environment variable ARCGISRUNTIMESDKJAVA_100_11_2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;- Within the ".arcgis" directory in the user's home path C:\Users\Administrator\.arcgis&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.esri.arcgisruntime.ArcGISRuntimeEnvironment.lambda$getInstallDirectory$0(ArcGISRuntimeEnvironment.java:262)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at java.base/java.util.Optional.orElseThrow(Optional.java:401)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.esri.arcgisruntime.ArcGISRuntimeEnvironment.getInstallDirectory(ArcGISRuntimeEnvironment.java:258)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.esri.arcgisruntime.ArcGISRuntimeEnvironment.loadNativeLibraries(ArcGISRuntimeEnvironment.java:693)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.esri.arcgisruntime.ArcGISRuntimeEnvironment.initialize(ArcGISRuntimeEnvironment.java:198)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;at com.esri.arcgisruntime.internal.jni.CoreGeoView.&amp;lt;clinit&amp;gt;(CoreGeoView.java:52)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;... 12 more&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;FONT size="5"&gt;&lt;STRONG&gt;thans again！！！&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 02:53:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-can-i-config-arcgis-runtime-for-java/m-p/1081614#M2417</guid>
      <dc:creator>亚鹏范</dc:creator>
      <dc:date>2021-07-22T02:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can i config arcgis runtime for java？</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-can-i-config-arcgis-runtime-for-java/m-p/1081625#M2418</link>
      <description>&lt;P&gt;some here？please！&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 05:27:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-can-i-config-arcgis-runtime-for-java/m-p/1081625#M2418</guid>
      <dc:creator>亚鹏范</dc:creator>
      <dc:date>2021-07-22T05:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can i config arcgis runtime for java？</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-can-i-config-arcgis-runtime-for-java/m-p/1081652#M2421</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;It looks like the ArcGIS Runtime for Java is missing from the machine you are using: are you running the downloaded solution for the tutorial from your machine, or following the tutorial instructions step by step?&lt;/P&gt;&lt;P&gt;For both scenarios, try running the `copyNatives` gradle task. This should copy Runtime into an `.arcgis` directory on your machine. Can you see Runtime in there at all? If you open `.arcgis` up you should see a `100.11.0` folder and within that a jniLibs and resources folder.&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jul 2021 08:42:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-can-i-config-arcgis-runtime-for-java/m-p/1081652#M2421</guid>
      <dc:creator>RachaelE</dc:creator>
      <dc:date>2021-07-22T08:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can i config arcgis runtime for java？</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-can-i-config-arcgis-runtime-for-java/m-p/1082956#M2422</link>
      <description>&lt;P&gt;Rachel describes the cause correctly.&lt;/P&gt;&lt;P&gt;Depending upon your development environment there are a few ways to correct it.&lt;/P&gt;&lt;P&gt;Are you using Maven or Gradle to build your application, or some other method?&lt;/P&gt;&lt;P&gt;The simplest options are documented &lt;A href="https://developers.arcgis.com/java/install-and-set-up/" target="_self"&gt;here in the SDK installation guide.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In that guide you will see that the SDK depends upon two additional compressed archives at runtime. You must make those archives (unpacked) available to the SDK and configure the SDK within your app with the location of these dependencies.&lt;/P&gt;&lt;P&gt;The error message you are receiving indicates where the SDK is looking for the required files:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Could not find runtime in any of:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;- A directory specified by calling ArcGISRuntimeEnvironment.setInstallDirectory()&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;- The current directory D:\WorkSpace\Spring Tool Suits\sts_workspace\ArcGis&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;- A location specified by the environment variable ARCGISRUNTIMESDKJAVA_100_11_2&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;- Within the ".arcgis" directory in the user's home path C:\Users\Administrator\.arcgis&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 07:01:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-can-i-config-arcgis-runtime-for-java/m-p/1082956#M2422</guid>
      <dc:creator>DaveWhitla</dc:creator>
      <dc:date>2021-07-27T07:01:41Z</dc:date>
    </item>
  </channel>
</rss>

