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