2013年11月2日星期六

jar file problem

unpack properties There is a project . Properties files , I put this project play into jar package , how do I let others double-click the jar, put the properties file into the specified path does ?
------ Solution ---------------------------------------- ----
you are unable to access the jar bag thing ! You can copy your main method in a jar to another place, and then call the decompressor to decompress and then unzipped file copy to the place you want !
there is a way out of the properties on the jar in the same directory, so that the program to facilitate that
------ For reference only ------------ ---------------------------

Oh , forget it , or on the outside to change the program a little better . . .

没有评论:

发表评论