[jcifs] need help to run the examples
reddish41 at yahoo.com
Wed Apr 16 18:21:33 EST 2003
Thanks for the answer,
but I guess I've already figured it out why..
It turned out that java run time program first seek
the default class of the library, but if I'm using
java to compile the jcifs examples with the option
-classpath *location-of-the-jcifs.jar* , I also must
add the "this directory path ( "./" in unix and "." in
--- Dan Dumont <Dan at canofsleep.com> wrote:
> Run the class without the .class extension
> 'javac moo.java' will compile the class
> And 'java moo' will run it
> -----Original Message-----
> jcifs-bounces+dan=canofsleep.com at lists.samba.org
[mailto:jcifs-bounces+dan=canofsleep.com at lists.samba.org]
> On Behalf Of ardi
> Sent: Tuesday, April 15, 2003 5:03 AM
> To: jcifs at lists.samba.org
> Subject: [jcifs] need help to run the examples
> Hi.. all
> I'm very interested in this jcifs project, but it
> to know that im very poor to java programming.
> Excuse me if this question is to basic for all of
> and I guess it's about configuring java.
> I tried to find the answer on the net, but i didn't
> get anything. So I guess someone here will answer my
> I've download the jar file from the website and
> install the sun j2sdk v1.3.1. I tried to compile the
> examples from the jcifs directory and add the
> classpath to the jcifs jar file and it works well.
> when I tried to run the class file also with
> option directed to the jcifs jar file, i got an
> like this :
> Exception in thread "main"
> Why this error occurs..??
> I noticed that all of the java examples in that
> directory use the throws clause (throws Exception).
> this because I didn't add the class of the exception
> or something else in java environment that I should
> Thanks all
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
More information about the jcifs