hi there, i have been pulling out my hair + jumping up and down for this problem, if any one have ideal pleae let me know
operating system: window XP (it works fine if i use window NT/2000)
file name : record.db
this code is suppose to get the file and read it :
---------------------------------------------------
String fname = "record.db"; // or String fname = ".\\record.db";
FileInputStream fis = new FileInputStream(fname);
DataInputStream dis = new DataInputStream(fis);
and it throw
java.io.FileNotFoundException: record_db\record.db(The system find the specified)
-----------------------------------------------
BUT if i use the below line it works fine
String fname = "c:\javaProject\classes\record.db";
and i need to make this dynamic so that i can jar it
please let me know
p/s: i even tried the example
java developer exam Book isbn = 1590590309 , it works for win 2000 or NT but not for XP