I have a new query. I have been working on a project, which is working satisfactorily so far. This program needs to read and write data from text files. After finishing the coding, I was trying to package the program as a JAR File. I know how to read data from a text file packaged inside a JAR file, so that was no problem. But I didn't know what to do to WRITE data to the JAR! No such method in the JarFile API, either.
I need to know if there's any way at all to WRITE data back to the file (which is in the JAR). I didn't find anything on google that would help me. On one site, someone said that it might not be possible. I searched this site also. I wasn't able find anything about how to modify a text file within a JAR file. Has anyone ever done this? Is there any way at all to write/modify text files inside the JAR? Any ideas/suggestions are really appreciated. Thanks in advance!