it is a simple gui program with pictures.
-when i run it from cmd it says it cant load the pictures.
-when i run it from elipse it works.
the code looks like this-
try {
faces[0].Questionset(ImageIO.read(new File("src\\Cristiano.jpg")),"cristiano ronaldo");
} catch (IOException e) {
e.printStackTrace();
}
try {
faces[1].Questionset(ImageIO.read(new File("src\\Jim.jpg")),"jim carry");
} catch (IOException e) {
e.printStackTrace();
}
etc
how can i fix that?