title: Modify a string in Java bytecode (jar)
body: <p>I want to modify a connection string that's hard-coded in a Java application (jar without source). </p>
  
  <p>I presume it's possible to decompile the jar, then change the source and recompile to a new jar, but is there a quicker way to do this?</p>
  
  <p>EDIT:</p>
  
  <ul>
  <li>It's a standalone application, not a jar I'm loading from my own code</li>
  <li>I doubt it will have been obfuscated: niche scientific application, author AWOL.</li>
  <li>A solution that entails modifying the string "in memory" while the app is running would also suffice, but not ideal</li>
  </ul>