File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and Relational Databases and the fly likes Error: Could not find or load main class queries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Error: Could not find or load main class queries " Watch "Error: Could not find or load main class queries " New topic
Forums: JDBC and Relational Databases Beginning Java
Author

Error: Could not find or load main class queries

Pavithra Thinakaran
Greenhorn

Joined: Jul 21, 2014
Posts: 1
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

Joined: May 26, 2003
Posts: 31571
    
185

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?


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 41078
    
  29
Welcome again

… and where is the queries.class file? Is that the correct spelling? You would usually write Queries with a capital Q.
 
rocket mass heater kickstarter
 
subject: Error: Could not find or load main class queries