[jcifs] need help to run the examples

Dan Dumont Dan at canofsleep.com
Wed Apr 16 01:01:57 EST 2003

Run the class without the .class extension


'javac moo.java' will compile the class
And 'java moo' will run it

-----Original Message-----
From: 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 sad
to know that im very poor to java programming.
Excuse me if this question is to basic for all of you
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. But
when I tried to run the class file also with classpath
option directed to the jcifs jar file, i got an error
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). Is
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

More information about the jcifs mailing list