A few days ago I have a problem with a Java system that I am doing, the problem is when creating the JAR, I do not save my settings in a txt file. This is the variable where I save the file
public String directorioGlobalConfig = "../gafe//src//recursos//GlobalConfig.txt";
At the time of running it in the CMD, it tells me that the file has not been found
While I run the system in NetBeans, if it works well, but when running it in JAR can not find the files.
I also tried opening the JAR with Winrar, and I noticed that the SRC folder does not exist inside the JAR, I put it manually and it still does not work ...