title: Writing to Java Properties file contained as a Resource in a Jar File
body: <p>Is there a way to modify the property values in a Properties file that is stored in a Jar file as a Resource?</p>
  
  <p>This is the scenario that I am trying to handle. I have a properties file stored as a resource in my Jar file.  There are some system specific properties, for example, paths.  I want to be able to change this for the system that I want the Jar file to run on.  </p>
  
  <p>The best solution would be to call a class/method that is internal to the Jar file that will modify the resource file that is contained in the Jar.  Another solution would be to run a utility program on the Jar file that will modify the property file and re-Jar everything.  This will be a one-time setup process that I run on the Jar file.</p>