lramirez wrote:

> I also compile
> java -jar d:\jdbc\Avenirjdbc21.jar c
> and it says :
>
> Falied to load Main-Class manifest Attribute from d:\jdbc\AvenirJDBC21.jar
>
> any comments ???
>
> thanks !!
>
> lramirez wrote:
>
> > Hi friends !!
> >
> > I have been working on JDBC, and i downloaded a Jar File which connects
> > through a Sql Server.
> > In the code I USE
> >
> >     Class.forName ("net.avenir.jdbc2.Driver");
> >       Properties prop = new Properties ();
> >       Connection ctn = DriverManager.getConnection(url,prop);
> >       Statement st= ctn.createStatement();
> >       rs = st.executeQuery(cadena);
> >       .................
> >
> > I use javac c.java  and works fine. The problem is when I RUN : java
> > -classpath d:\jdbc c  and it says :
> > that
> > java.lang.NoClassDefFoundError: c
> >
> > its getting me crazy jejej
> >
> > any suggestions will be appreciated !!
> >
> > thanks a lot !!
> >
> > Luis

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to