Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> What the hell is going on ?!?!?!?!?!?!?

What the hell is going on ?!?!?!?!?!?!?

From: <monsri_at_my-deja.com>
Date: Fri, 23 Jul 1999 11:43:46 GMT
Message-ID: <7n9khh$kf1$1@nnrp1.deja.com>


Hello here,
I have a Java class file I can execute in a certain directory, but it fails in another. It performs a simple connection to an Oracle db (this is a test script) and output -with 'System. out.println()'- the result of the query.

I noticed something pretty amazing: when I try to execute the same file IN ANOTHER DIRECTORY, I get the "No suitable driver" error message (coming from my 'catch(SQLException e) {

                                 System.err.println(e.getMessage);'
piece of code).

Of course my environment is exactly the same (it just takes to copy the file in the next subdirectory to make it fail), I use the "java -classpath . Lookup" command line in both cases (but it fails too whatever the options I put anyway)...

Did anybody already encounter this behaviour ?!?!?!? Any idea ?!?

Thanks a lot for any enlightenment !

Regards,
Spendius

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Fri Jul 23 1999 - 06:43:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US