• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Need Your Help with db.db Access!!!

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does any folk encounter the message "java.io.IOException: Data: request to open non-existant or inaccessible filesuncerfity.db.db." when run the following code? Thanx!

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Daniel,
You wrote:
Data data= new Data("suncerfity.db.db");
I am not sure to agree with you in the parameter
of Data class.
You should try ./suncertify/db/db.db, I guess... but it
depends on you also.
(At least, you missed one "db", package structure is
"suncertify.db" and the name of the database file is "db.db".)
Cheers,
Ban
 
Daniel Wu
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andras,
Thank you very much! Inspired by your advice, i finally got it done! It must be "C:/scjd/starting//suncertify/db/db.db"; i tried by using \ rather than /, and it didn't work; and i also tried other ways, all failed! Do we have to experience so many failures before we get the last correct one?!(:=
Once again, thank you for your message!
Daniel
[This message has been edited by Daniel Wu (edited August 11, 2001).]
 
Andras Nemeth
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Daniel,
If you use the windows kind of path you should use double
\\ because (\something can be an escape sequence).
However, I do not recommend to use windows way...
Cheers,
Ban
 
Daniel Wu
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah Andras,
you are right I use Windows 98SE for my laptop come with that (:-. I plan to test the project in another OS when i am done, say, a flavor of Unix. Is that feasible? Thanks!
Regards,
Daniel

[This message has been edited by Daniel Wu (edited August 12, 2001).]
 
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic