I have a java application which should save and load user settings. I want to save them in a file located in a JAR file, how can I do this?
It's impossible. Rather, consider using java.util.prefs.Preferencesone that is designed specifically for this purpose. See also this small guide .
java.util.prefs.Preferences
This is not a reasonable course of action.
JAR ZIP . , , , , .
, , , JAR, , .
.
, .
, :
JAR : JAR?
temp
Jar temp JAR.
To add to what Chris said, most security experts will tell you that this is usually a bad security practice allowing end-user applications to modify their own code. What you ask for will require it.
Source: https://habr.com/ru/post/1777490/More articles:Session lost using hostname instead of IP address (IE) - asp.net-mvc-2SQL Benefits of JOINs? - sqlHow to cross-reference existing doxigenic documents? - c ++Insert username in Powershell file path - powershellXAML Style Sources - styleshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1777491/passing-variables-to-a-jruby-application-via-tomcat-config&usg=ALkJrhh0gND0F0lvtJz8cHU6XGwzlvWWCALoading data into a global temporary table - sqlWhat is the latest version of the Tomcat plugin for Eclipse? - eclipseFix conflicting types in C # .NET caused by ILMerge - c #UILabel text with multiple font colors - iosAll Articles