<?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: Caused by: java.lang.RuntimeException: Could not find runtime in any of: in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/caused-by-java-lang-runtimeexception-could-not/m-p/1063183#M2371</link>
    <description>&lt;P&gt;Is there some reason why ArcGIS can't load native libraries from the LD_LOADER_PATH like every other Java framework calling native code? e.g JavaFX All this path mangling with hard coded references to the local filesystem (of the development machine) is pretty strange and just creates another yak to shave when trying to build this library into a production application.&lt;/P&gt;</description>
    <pubDate>Mon, 31 May 2021 00:32:57 GMT</pubDate>
    <dc:creator>DaveWhitla</dc:creator>
    <dc:date>2021-05-31T00:32:57Z</dc:date>
    <item>
      <title>Caused by: java.lang.RuntimeException: Could not find runtime in any of:</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/caused-by-java-lang-runtimeexception-could-not/m-p/234485#M659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I start to&amp;nbsp;write program on updated version 100.1.&lt;BR /&gt;From&amp;nbsp;IDE it's work fun, but when I build jar and try to execute him, I have this error.&lt;BR /&gt;When I write on 100.0 I'm don't have this problem.&lt;BR /&gt;I'm work with very easy IDE "bluej", so I manual&amp;nbsp;put ArcGIS files to the build. &lt;BR /&gt;I try to use Intellij IDEA with Gradle, I'm use next script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;apply plugin: 'java'&lt;BR /&gt;apply plugin: 'idea'&lt;BR /&gt;apply plugin: 'application'&lt;BR /&gt;//apply the ArcGIS Java SDK Plug-in for Gradle With_3D-Add_Graphics-Surface_Placement&lt;BR /&gt;apply plugin: 'com.esri.arcgisruntime.java'&lt;/P&gt;&lt;P&gt;buildscript {&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; repositories { maven { url '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fesri.bintray.com%2Farcgis" rel="nofollow" target="_blank"&gt;https://esri.bintray.com/arcgis&lt;/A&gt;&lt;SPAN&gt;' } }&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dependencies { classpath 'com.esri.arcgisruntime:gradle-arcgis-java-plugin:1.0.0' }&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;arcgis.version = '100.1.0'&lt;/P&gt;&lt;P&gt;// download javadoc&lt;BR /&gt;idea {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; module {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; downloadJavadoc = true&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; downloadSources = true&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;But IDEA give me next message:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Unindexed remote maven repositories found. Disable...&lt;BR /&gt;&amp;nbsp;&amp;nbsp;The following repositories used in your gradle projects were not indexed yet: &lt;BR /&gt;&lt;A href="https://esri.bintray.com/arcgis"&gt;https://esri.bintray.com/arcgis&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;If you want to use dependency completion for these repositories artifacts,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;Open Repositories List, select required repositories and press "Update" button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Help me please.&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;Alex.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2017 08:15:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/caused-by-java-lang-runtimeexception-could-not/m-p/234485#M659</guid>
      <dc:creator>AlexandrOrlovezky</dc:creator>
      <dc:date>2017-11-26T08:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: java.lang.RuntimeException: Could not find runtime in any of:</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/caused-by-java-lang-runtimeexception-could-not/m-p/234486#M660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Some update:&lt;/P&gt;&lt;P&gt;My app start from&amp;nbsp;Intellij IDEA with Gradle. I can build jar. But when I try&amp;nbsp;execute I have: "Caused by: java.lang.RuntimeException: Could not find runtime in any of:...."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Nov 2017 11:53:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/caused-by-java-lang-runtimeexception-could-not/m-p/234486#M660</guid>
      <dc:creator>AlexandrOrlovezky</dc:creator>
      <dc:date>2017-11-26T11:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: java.lang.RuntimeException: Could not find runtime in any of:</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/caused-by-java-lang-runtimeexception-could-not/m-p/234487#M661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you figured out the problem already, but just in case...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need to copy the Runtime dependent libraries to where your application's runnable jar file is.&lt;/P&gt;&lt;P&gt;You can find more information about that here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/java/latest/guide/deploy-your-app.htm#ESRI_SECTION1_8AF6E9243A4F49068FA451A9D757952B" title="https://developers.arcgis.com/java/latest/guide/deploy-your-app.htm#ESRI_SECTION1_8AF6E9243A4F49068FA451A9D757952B"&gt;Deploy your app—ArcGIS Runtime SDK for Java | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example, (if you've used the gradle plugin to get the SDK) in your home directory, there should be a .arcgis folder. In that folder, under the folder with the name of the version you are using, you'll find 'jniLibs' and 'resources' folders. These need to be copied over to the folder where your jar file resides.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 16:37:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/caused-by-java-lang-runtimeexception-could-not/m-p/234487#M661</guid>
      <dc:creator>EricBader</dc:creator>
      <dc:date>2017-12-04T16:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: java.lang.RuntimeException: Could not find runtime in any of:</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/caused-by-java-lang-runtimeexception-could-not/m-p/234488#M662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Eric,&lt;/P&gt;&lt;P&gt;Yes, I'm&amp;nbsp; put him (jniLibs&amp;nbsp;and resources) to the folder where resides my jar...&lt;/P&gt;&lt;P&gt;For now, I'm not solve this problem and can to start my program just from IDEA.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Dec 2017 22:12:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/caused-by-java-lang-runtimeexception-could-not/m-p/234488#M662</guid>
      <dc:creator>AlexandrOrlovezky</dc:creator>
      <dc:date>2017-12-11T22:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: Caused by: java.lang.RuntimeException: Could not find runtime in any of:</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/caused-by-java-lang-runtimeexception-could-not/m-p/1063183#M2371</link>
      <description>&lt;P&gt;Is there some reason why ArcGIS can't load native libraries from the LD_LOADER_PATH like every other Java framework calling native code? e.g JavaFX All this path mangling with hard coded references to the local filesystem (of the development machine) is pretty strange and just creates another yak to shave when trying to build this library into a production application.&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 00:32:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/caused-by-java-lang-runtimeexception-could-not/m-p/1063183#M2371</guid>
      <dc:creator>DaveWhitla</dc:creator>
      <dc:date>2021-05-31T00:32:57Z</dc:date>
    </item>
  </channel>
</rss>

