<?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: ThinApp Java Application with Dynamic VM Arguments in ThinApp</title>
    <link>https://communities.vmware.com/t5/ThinApp/ThinApp-Java-Application-with-Dynamic-VM-Arguments/m-p/2637032#M7078</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out that the command line arguments for my Java application could be included included in a configuration file that is read when the application is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So using Toby's idea, I created a VBS script that copies an externally editable configuration file (located in my ThinApp package's bin directory) to the virtual environment when my packaged application is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now able to build my ThinApp packaged application while maintaining the ability to configure its runtime options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Dec 2011 21:21:48 GMT</pubDate>
    <dc:creator>littlef00t</dc:creator>
    <dc:date>2011-12-16T21:21:48Z</dc:date>
    <item>
      <title>ThinApp Java Application with Dynamic VM Arguments</title>
      <link>https://communities.vmware.com/t5/ThinApp/ThinApp-Java-Application-with-Dynamic-VM-Arguments/m-p/2637030#M7076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am currenty in the process of evaluating ThinApp and have a Java application that I am trying to package and distribute via ThinApp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My java application requires a URL to be specified as a java VM -D parameter when the application is run.&amp;nbsp; The VM argument is specified in a config file that is loaded/read at runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that the VM argument can differ depending on the user running the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can use ThinApp to package my application and it runs fine, but once it has been built/packaged, there is no way for me to change the VM argument dynamically when the ThinApp'd application is run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do anyone have any suggestions or best practices for how to handle this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.vmware.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 17:43:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/ThinApp-Java-Application-with-Dynamic-VM-Arguments/m-p/2637030#M7076</guid>
      <dc:creator>littlef00t</dc:creator>
      <dc:date>2011-12-16T17:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: ThinApp Java Application with Dynamic VM Arguments</title>
      <link>https://communities.vmware.com/t5/ThinApp/ThinApp-Java-Application-with-Dynamic-VM-Arguments/m-p/2637031#M7077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a VBscript to harvest user information and pass it to the virtual bubble?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 19:29:10 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/ThinApp-Java-Application-with-Dynamic-VM-Arguments/m-p/2637031#M7077</guid>
      <dc:creator>TobyFruthParson</dc:creator>
      <dc:date>2011-12-16T19:29:10Z</dc:date>
    </item>
    <item>
      <title>Re: ThinApp Java Application with Dynamic VM Arguments</title>
      <link>https://communities.vmware.com/t5/ThinApp/ThinApp-Java-Application-with-Dynamic-VM-Arguments/m-p/2637032#M7078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found out that the command line arguments for my Java application could be included included in a configuration file that is read when the application is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So using Toby's idea, I created a VBS script that copies an externally editable configuration file (located in my ThinApp package's bin directory) to the virtual environment when my packaged application is executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am now able to build my ThinApp packaged application while maintaining the ability to configure its runtime options.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 21:21:48 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/ThinApp/ThinApp-Java-Application-with-Dynamic-VM-Arguments/m-p/2637032#M7078</guid>
      <dc:creator>littlef00t</dc:creator>
      <dc:date>2011-12-16T21:21:48Z</dc:date>
    </item>
  </channel>
</rss>

