try to put all of your extracted files in the same directory with your
class file.

     yoel.

> -----Original Message-----
> From: Vera Permata Sari [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, March 24, 2000 10:31 AM
> To:   [EMAIL PROTECTED]
> Subject:      Exception
>
> Hello all...
> I have a problem nich...
>
> everytime I try to launch my class with this command:
> D:\Chart\coba1>java oracle
> this message always occurs:
> Exception in thread "main" java.lang.NoClassDefFoundError: oracle
>
> and if I change the command into:
> D:\Chart\coba1>java -classpath "." Oracle
> this message occurs:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> oracle/jdbc/driver/OracleDriver
>         at Oracle.connect(Oracle.java:30)
>         at Oracle.main(Oracle.java, Compiled Code)
>
> and, if I change the command into:
> D:\Chart\coba1>java -classpath ".;c:\classes" Oracle
> my system hangs.... it doesn't show any error message or anything.
>
> please guys... do you know what's wrong?
> I have put all my jar files (after I extract them) into one directory:
> c:\classes ('cause I was so desperate)... :)
> thanks for your attention...
>
> -Vera-

___________________________________________________________________________
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