Win a copy of Java 9 Revealed this week in the Features new in Java 9 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: 36634
475
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: 54034
130
  • 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
Boost this thread!