>> Yes everything is located in the same directory:
>>
[quoted text clipped - 11 lines]
> classpath. Since it would appear that you have everything in the same
> space, why not just say -cp ./ and be done with it?
That wouldn't look in jar files in ".", only class files.
What is required in the classpath is both "." and the jar-file. The arguments to
the java command must precede the main class as everything on the command line
following the main class is passed to the main class in the args array.
java -classpath .:ojdbc14.jar j
should work, although Windows command shell may require some quotes around the
argument.

Signature
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
Guy - 27 Jun 2007 17:50 GMT
Works!
Using this form:
java -classpath .;.\ojdbc14.jar j
Thanks!
Ref:
http://groups.google.com/group/comp.lang.java.help/browse_thread/thread/a9110381
760eb49f/822340483e8b7fd9?lnk=st&q=java+windows+classpath&rnum=3&hl=en#822340483
e8b7fd9
printdude1968@gmail.com - 27 Jun 2007 18:21 GMT
> Works!
>
[quoted text clipped - 4 lines]
>
> Ref:http://groups.google.com/group/comp.lang.java.help/browse_thread/thre...
And *nix would be java -classpath .:./ojdbc14.jar j ?