I'm new to java , i have file named config.porperties
i put it in this path /home/user/workspace/myproject/config.properties
but when i submitted the jar file
after packaged it i got that it cannot find this file
java.io.FileNotFoundException: config.properties (No such file or directory)
the code
FileInputStream finputstream = new FileInputStream(
"/home/user/workspace/myproject/config.properties");
prop.load(finputstream);
but there is no error in the code i think the problem with jar file that it couldn't read the path !
Hope i can find help , THANKS