<?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: Running a Java map application with a 32 bit JRE from within Eclipse in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/running-a-java-map-application-with-a-32-bit-jre/m-p/628127#M1915</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried launching eclipse with the specific 32bit Java Runtime Environment? This &lt;/SPAN&gt;&lt;A href="http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F"&gt;link &lt;/A&gt;&lt;SPAN&gt; shows how to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;To explicitly specify a JVM of your choice, you can use the -vm command line argument:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; eclipse -vm c:\jre\bin\javaw.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''start Java by executing the specified java executable&lt;BR /&gt;&amp;nbsp;&amp;nbsp; eclipse -vm c:\jre\bin\client\jvm.dll&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''start Java by loading the jvm in the eclipse process&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 May 2013 14:43:45 GMT</pubDate>
    <dc:creator>CarlosColón-Maldonado</dc:creator>
    <dc:date>2013-05-05T14:43:45Z</dc:date>
    <item>
      <title>Running a Java map application with a 32 bit JRE from within Eclipse</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/running-a-java-map-application-with-a-32-bit-jre/m-p/628126#M1914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to run a ArcGIS map UI out of Eclipse (Indigo) using a 32-bit JRE on a 64-bit Windows 7 machine. The reason I'm trying oto use a 32-bit JRE is because I need to a load a 32-bit native library for my project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To build up to the problem here is an experiment I tried:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Using a 32-bit JRE and running out of Eclipse???&lt;/SPAN&gt;&lt;BR /&gt;&lt;OL&gt;&lt;BR /&gt;&lt;LI&gt;I first created a dummy console application printing a simple message and that worked (of course).&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;I made the application pop up a simple JFrame and that worked. A blank window pops up.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Next I added the ???ArcGIS Runtime Java Dependent JARs??? library to the build path. But, I didn???t add any ArcGIS UI elements to my application UI at all nor did I add any ArcGIS related objects to my code. This also runs and a blank window pops up.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;Next I instantiated a simple JMap (new JMap()) object and did not add it to the frame yet. This is when the program terminates without popping up a window.&lt;/LI&gt;&lt;BR /&gt;&lt;LI&gt;If I leave the code as is and just change the JRE being used by that Eclipse project to a 64-bit version, it runs.&lt;/LI&gt;&lt;BR /&gt;&lt;/OL&gt;&lt;SPAN&gt;I can build and run all this on the command line outside of Eclipse, but this is my IDE of choice and I would love to debug my application within Eclipse as I normally would.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 May 2013 22:09:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/running-a-java-map-application-with-a-32-bit-jre/m-p/628126#M1914</guid>
      <dc:creator>JasonJacob</dc:creator>
      <dc:date>2013-05-04T22:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Java map application with a 32 bit JRE from within Eclipse</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/running-a-java-map-application-with-a-32-bit-jre/m-p/628127#M1915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Have you tried launching eclipse with the specific 32bit Java Runtime Environment? This &lt;/SPAN&gt;&lt;A href="http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F"&gt;link &lt;/A&gt;&lt;SPAN&gt; shows how to do that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;To explicitly specify a JVM of your choice, you can use the -vm command line argument:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; eclipse -vm c:\jre\bin\javaw.exe&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''start Java by executing the specified java executable&lt;BR /&gt;&amp;nbsp;&amp;nbsp; eclipse -vm c:\jre\bin\client\jvm.dll&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''start Java by loading the jvm in the eclipse process&lt;BR /&gt;&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 May 2013 14:43:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/running-a-java-map-application-with-a-32-bit-jre/m-p/628127#M1915</guid>
      <dc:creator>CarlosColón-Maldonado</dc:creator>
      <dc:date>2013-05-05T14:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Java map application with a 32 bit JRE from within Eclipse</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/running-a-java-map-application-with-a-32-bit-jre/m-p/628128#M1916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just tried a few of the suggestions including add the -vm flag to the eclipse.ini file, but it returns with an error code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For example if I try to run a 32-bit version of Eclipse with following -vm flag then I get the screenshot below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-vm&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;C:/Program Files (x86)/Java/jdk1.7.0_21/bin/javaw.exe&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24061[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 May 2013 16:48:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/running-a-java-map-application-with-a-32-bit-jre/m-p/628128#M1916</guid>
      <dc:creator>JasonJacob</dc:creator>
      <dc:date>2013-05-05T16:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Java map application with a 32 bit JRE from within Eclipse</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/running-a-java-map-application-with-a-32-bit-jre/m-p/628129#M1917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I looked up the error code from your screenshot on Google and found links that say:&lt;/SPAN&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is an application error code you will find on Windows computers which use a (certain) video card.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt; Several links seem to blame the screensaver for this error, but sounds like the 32-bit JRE seems to have a problem assessing the video card on a 64-bit OS in JMap's behalf, because it requires direct access to it, based on what you've done to corner this behavior on your first post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because Runtime comes with both sets of x86 and x64 client/server libraries for Windows deployments, I'm led to believe that you will not be able to have Runtime specifically use the x86 libraries to operate on a x64 OS. I think you'll have hard time getting this to work. Sorry I couldn't be of help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 15:39:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/running-a-java-map-application-with-a-32-bit-jre/m-p/628129#M1917</guid>
      <dc:creator>CarlosColón-Maldonado</dc:creator>
      <dc:date>2013-05-06T15:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Running a Java map application with a 32 bit JRE from within Eclipse</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/running-a-java-map-application-with-a-32-bit-jre/m-p/628130#M1918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's ok. I worked around this by running the application from the command line and attaching a remote debugger from Eclipse.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 May 2013 15:41:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/running-a-java-map-application-with-a-32-bit-jre/m-p/628130#M1918</guid>
      <dc:creator>JasonJacob</dc:creator>
      <dc:date>2013-05-06T15:41:38Z</dc:date>
    </item>
  </channel>
</rss>

