Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error: Could not find or load main class queries  RSS feed

 
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: 36818
481
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
Posts: 54472
150
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!