-1

I have a config.properties file that my JavaMail program pulls from for the email address's, message, etc. When I update the config.properties file, the jar file doesn't pull from that config file, but instead pulls from the config file when I initially created the jar file. I am using Eclipse. I was wondering if there's a way to make the jar file pull from the updated config file or if I had to remake the jar every time. Thanks.

user2256498
  • 85
  • 1
  • 8

1 Answers1

0

the answer is yes you have to rebuild everytime if you want to pull from the classpath ( inside a .jar ).

don't put the file in the .jar is always an option