Re: my sql connectivity
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 21:37:10 -0400
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
.
- References:
- my sql connectivity
- From: focode
- Re: my sql connectivity
- From: Leonard Milcin
- my sql connectivity
- Prev by Date: Re: static synchronized
- Next by Date: Re: Socket Won't Connect
- Previous by thread: Re: my sql connectivity
- Next by thread: Inconsistent CPU usage
- Index(es):
Relevant Pages
|