This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
hey, i`m just a newbee in java and database. i work with suse 7.3, j2sdk1.4.0, mm.mysql driver and mysql. on java.sun.com i found a java tutorial and follow the examples.but the first example CreateCoffees doesn`t work. here is the code
when i run this program the following error comes: linux:~/tomcat/webapps/examples/codeExamples/firstEdition # javac CreateCoffees. java linux:~/tomcat/webapps/examples/codeExamples/firstEdition # java CreateCoffees SQLException: No suitable driver linux:~/tomcat/webapps/examples/codeExamples/firstEdition # is there anybody out there who have an idea? thanks bernd [ Edited by Dave to format code and highlight error ] [ June 23, 2002: Message edited by: David O'Meara ]
Bosun Bello
Ranch Hand
Joined: Nov 06, 2000
Posts: 1506
posted
0
Do you have the mySQL driver downloaded? If you do, do oyu have it in the appropriate directory?
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
"beatles", The Java Ranch has thousands of visitors every week, many with surprisingly similar names. To avoid confusion we have a naming convention, described at http://www.javaranch.com/name.jsp. We require names to have at least two words, separated by a space, and strongly recommend that you use your full real name. Please edit your profile and select a new name which meets the requirements. Thanks. Dave