+ 5
JAR files and file IO
I have been working on a JavaFX project for my school project. Apparently FileIO is not working with the JAR file where it works in normal code. Apparently one online source says JAR file contents are immutable. What do I do as an alternative? I tried using MySQL and JDBC but all the complicated stuff made me abandon. Does anyone have any idea on how I can use File IO and write text files without the hassle of immutable JAR file contents?
2 Answers
0
store files outside? make template files and store them in your resources, then copy them outside
0
I donât really understand your problem. Do you want to store the text files in your jar-File? Why do you want to do that? What do you want to do with your application?
BR