aspose file tools*
The moose likes JDBC 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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Error: Could not find or load main class queries " Watch "Error: Could not find or load main class queries " New topic
Forums: JDBC 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: 30929
    
158

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?


[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: 39834
    
  28
Welcome again

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