i Have a prob with a File on my Project Java My project runs on Eclipse But not a console mode
I Have 3 Packages
pk 1
-> class reads a File
FileInputStream propFile= null;
Properties properties = new Properties(System.getProperties());
try {
propFile = new FileInputStream("file.txt");
properties.load(propFile);
} catch (Exception e1) {
// TODO Auto-generated catch block
e1.printStackTrace();
}
-> file.txt
pk2
pk3 -> my main
My code Works On Eclispe but if not at console mode
I don't understand why I can resolve this.