[jcifs] NoClassDefFoundError
Mike Goppold
msg at msu.edu
Fri Oct 7 03:54:08 GMT 2005
I executed the following commands and got a strange NoClassDefFoundError
exception. What's wrong? I ran another java program which worked. (I
was trying to use the AllocInfo example:
http://jcifs.samba.org/src/examples/AllocInfo.java)
C:\Documents and Settings\Mike\Desktop>javac -cp jcifs-1.2.5.jar
AllocInfo.java
C:\Documents and Settings\Mike\Desktop>java -cp jcifs-1.2.5.jar AllocInfo
Exception in thread "main" java.lang.NoClassDefFoundError: AllocInfo
C:\Documents and Settings\Mike\Desktop>java -version
java version "1.5.0_04"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
C:\Documents and Settings\Mike\Desktop>
More information about the jcifs
mailing list