Re: my sql connectivity



focode wrote:
i [sic] have downloaded "mysql-connector-java-5.1.6.tar" and the related
connecter for java [sic] and set the class path , my programa compiled well
but it reported error class not found exception then preceded

In general you'll do better if you copy-and-paste compiler errors and exception messages and the like literally, although in this case the message is clear enough to relax the advice a tad.

Leonard Milcin wrote:
You don't have the *jar* file in the classpath. Your program will compile
well without the driver because it's loaded by name.

For how to set the classpath:
<http://java.sun.com/javase/6/docs/technotes/tools/solaris/classpath.html>

--
Lew
.



Relevant Pages

  • Re: my sql connectivity
    ... connecter for java and set the class path, ... but it reported error class not found exception then preceded ...
    (comp.lang.java.programmer)
  • my sql connectivity
    ... connecter for java and set the class path, ... but it reported error class not found exception then preceded ...
    (comp.lang.java.programmer)
  • Re: wide_string and assertions
    ... > Ada.Exceptions only supports String for exception messages. ... > that existing mechanism for handling messages. ...
    (comp.lang.ada)
  • What is implementation-specific ?
    ... When the system boot, some exception messages are shown. ... Prev by Date: ...
    (comp.sys.powerpc.tech)