<?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 Try the decendree setting in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Integrating-with-Java-on-system-with-multiple-JREs-available/m-p/81387#M32963</link>
    <description>Try the decendree setting that is mentioned in the Java Automatoin Guide and also mentioned in this knowledgebase article: &lt;A href="https://blueprism.knowledgeowl.com/help/how-do-i-spy-all-the-elements-in-a-java-application" target="test_blank"&gt;https://blueprism.knowledgeowl.com/help/how-do-i-spy-all-the-elements-in-a-java-application&lt;/A&gt;</description>
    <pubDate>Thu, 22 Jun 2017 13:58:00 GMT</pubDate>
    <dc:creator>Denis__Dennehy</dc:creator>
    <dc:date>2017-06-22T13:58:00Z</dc:date>
    <item>
      <title>Integrating with Java on system with multiple JREs available</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Integrating-with-Java-on-system-with-multiple-JREs-available/m-p/81386#M32962</link>
      <description>I have an application which comes bundled with its own JRE (1.6), while my system has Java 1.8 installed by default. I've installed JAB 2.0.2 in the 1.6 JRE and have tested it using Java Monkey and Java Ferret - and everything works (elements are being recorded). JRE 1.8 has JAB already within in, and it also works. This was all tested using SwingSet2.jar.

However, when trying to spy elements in BP, even though I see Java mode enabled and yellow boxes moving around, I keep getting the following error after selecting any element:

System.ApplicationException: Exception getting Java Identfier KeyBindings Exception: Index was outside the bounds of the array.
   at BluePrism.AMI.clsAMI.Spy(clsElementTypeInfo&amp;amp; elementType, List`1&amp;amp; identifiers)
   at Automate.frmIntegrationAssistant.HandleSpyOrLaunchClick(Object sender, EventArgs e)

When I try to use the Application Navigator:

BluePrism.BPCoreLib.BluePrismException: Failed to get snapshot - ERROR - ERROR:Exception getting Java Identfier KeyBindings Exception: Index was outside the bounds of the array.
   at BluePrism.AMI.clsAMI.GetElementTree(String mode, Boolean includeInvisible, clsProgressMonitor monitor, String snapshot)
   at Automate.frmApplicationTreeNavigator.DoRefreshTreeWork(Object sender, DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

I'm launching SwingSet2 as suggested in the documentation - in external 64 bit mode and using the "descendtree" parameter.  

Could this problem be caused by the different JREs present? My goal is to use JRE 1.6 (bundled with the application), as it's required for the app to run. How can I specify to BP which JRE to use when spying an application?</description>
      <pubDate>Wed, 21 Jun 2017 20:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Integrating-with-Java-on-system-with-multiple-JREs-available/m-p/81386#M32962</guid>
      <dc:creator>VladimirPerić</dc:creator>
      <dc:date>2017-06-21T20:41:00Z</dc:date>
    </item>
    <item>
      <title>Try the decendree setting</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Integrating-with-Java-on-system-with-multiple-JREs-available/m-p/81387#M32963</link>
      <description>Try the decendree setting that is mentioned in the Java Automatoin Guide and also mentioned in this knowledgebase article: &lt;A href="https://blueprism.knowledgeowl.com/help/how-do-i-spy-all-the-elements-in-a-java-application" target="test_blank"&gt;https://blueprism.knowledgeowl.com/help/how-do-i-spy-all-the-elements-in-a-java-application&lt;/A&gt;</description>
      <pubDate>Thu, 22 Jun 2017 13:58:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Integrating-with-Java-on-system-with-multiple-JREs-available/m-p/81387#M32963</guid>
      <dc:creator>Denis__Dennehy</dc:creator>
      <dc:date>2017-06-22T13:58:00Z</dc:date>
    </item>
    <item>
      <title>Yes, I do have it, as I wrote</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Integrating-with-Java-on-system-with-multiple-JREs-available/m-p/81388#M32964</link>
      <description>Yes, I do have it, as I wrote in my initial comment. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Thu, 22 Jun 2017 20:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Integrating-with-Java-on-system-with-multiple-JREs-available/m-p/81388#M32964</guid>
      <dc:creator>VladimirPerić</dc:creator>
      <dc:date>2017-06-22T20:14:00Z</dc:date>
    </item>
    <item>
      <title>Any updates on this issue?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Integrating-with-Java-on-system-with-multiple-JREs-available/m-p/81389#M32965</link>
      <description>Any updates on this issue? Did you resolve it somehow? 
I'm experiencing the same issue with my application right now and have tried all the different solutions provided here on the portal.</description>
      <pubDate>Wed, 22 Nov 2017 16:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Integrating-with-Java-on-system-with-multiple-JREs-available/m-p/81389#M32965</guid>
      <dc:creator>eija_egerlind</dc:creator>
      <dc:date>2017-11-22T16:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Try the decendree setting</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Integrating-with-Java-on-system-with-multiple-JREs-available/m-p/81390#M32966</link>
      <description>Hi,&lt;BR /&gt;&lt;SPAN&gt;any updates on this issue? Did you resolve it somehow? I'm experiencing the same issue with my application right now and have tried all the different solutions provided here on the portal.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Niharika Parsi&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 04 Mar 2022 13:51:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Integrating-with-Java-on-system-with-multiple-JREs-available/m-p/81390#M32966</guid>
      <dc:creator>NiharikaParsi</dc:creator>
      <dc:date>2022-03-04T13:51:00Z</dc:date>
    </item>
  </channel>
</rss>

