Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error: Could not find or load main class queries

 
Pavithra Thinakaran
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey...Im getting the following error while doing jdbc in java....
Error: Could not find or load main class queries
how do I solve it???
help me please...Thanks
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34410
346
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Pavithra,
Welcome to CodeRanch!

This doesn't sound like a JDBC problem. It sounds like a "running the program from the command line" issue. What command are you using to kick off the program?
 
Campbell Ritchie
Sheriff
Pie
Posts: 48967
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome again

… and where is the queries.class file? Is that the correct spelling? You would usually write Queries with a capital Q.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic