List:MySQL and Java« Previous MessageNext Message »
From:Alex Rice Date:April 21 1999 8:56pm
Subject:Re: mysql & jdbc drivers
View as plain text  
On Wed, 21 Apr 1999 16:48:44 -0400,
"Robert H. Thompson" <rthomp41@stripped> said:

Robert>    javac -classpath /mysql/twz1/twz1ForMysql.jar jdbctest1.java 
Robert>    and the program compiles fine.
Robert>    I try to run it with:
Robert>    java jdbctest1
Robert>    and I get java NoClassDefFound Error

Is twz1ForMysql.jar on your classpath when you issue the java command?
If not, try adding -classpath to the java command as well.

Alex Rice    |    alrice@stripped    |    http://www.swcp.com/~alrice
    Current Location: N. Rio Grande Bioregion, Southwestern USA



Thread
mysql & jdbc driversRobert H. Thompson22 Apr
  • Re: mysql & jdbc driversAlex Rice22 Apr
  • Re: mysql & jdbc driversSteve Nguyen22 Apr
Re: mysql & jdbc driversJim Ridenour22 Apr
  • Re: mysql & jdbc driversmmatthew22 Apr
Re: mysql & jdbc driversHarald Schlang22 Apr
Re: mysql & jdbc driversJim Ridenour23 Apr
Re: mm.mysql drivers.Christian Mack23 Apr