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-

Reply via email to