[jcifs] MalformedURLException

r holley rkholley at comcast.net
Tue Nov 19 00:26:59 EST 2002


I think this has come up before, but I'm not sure I understood the 
answer to my problem.  I've just downloaded jcifs and I'm trying to 
learn how to use it.  I thought I'd try the CreateFile.java example in 
the examples directory of the download.  After I compiled it I tried to 
run it with the following type command line (machine_name is the server 
I'm trying to reach, user_name is a valid user on the server, and 
user_pwd is the users' password) "java CreateFile 
smb://user_name:userPwd@machine_name/C/temp.txt".  The result I get 
is "java.net.MalformedURLException: unknown protocol: smb" thrown from 

If I'm not mistaken a previous poster has the same problem and it was 
resolved by changing the classpath, but I'm not sure I understand how 
the problem was solved.

Can anyone give me some help on this?



More information about the jcifs mailing list