dmg/util/CommandInterpreter comes from cells.jar, it looks like you are missing the jar in your classpath when you run "java org/dcache/srm/unixfs/Main". There are many more jars that have to be in the classpath, and a few command line parameters that need to be passsed to the program, please have a look at bin/run-unix-fs for an example. Thanks, Timur Peter Elmer wrote: > [Add Timur] > > Hi Fabrizio, > > Please remember to CC Timur. I don't think he is subscribed to the >mailing list (and is probably the best person to answer questions). > > Pete > >On Tue, Jan 10, 2006 at 02:18:09PM +0100, Fabrizio Furano wrote: > > >>Hi all, >> >> I finished writing a first crappy version of the proof-of-concept SRM >>implementation for xrootd. The code is quite simple, and everything >>compiles with no additional warnings (with respect to the already >>present ones...). >> >> Now problems come. I spotted a suspect class named "Main", which is >>supposed to be an administrator interface. However, if I try to start >>it, this is what I get: >> >>-------- >> >> >>>java org/dcache/srm/unixfs/Main >>> >>> >>Exception in thread "main" java.lang.NoClassDefFoundError: >>dmg/util/CommandInterpreter >> at java.lang.ClassLoader.defineClass1(Native Method) >> at java.lang.ClassLoader.defineClass(ClassLoader.java:620) >> at >>java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) >> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) >> at java.net.URLClassLoader.access$100(URLClassLoader.java:56) >> at java.net.URLClassLoader$1.run(URLClassLoader.java:195) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:188) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:306) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:251) >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) >> >>---------- >> >> >>Does anybody know where does "dmg/util/CommandInterpreter" come from? >> >> >>Fabrizio >> >> > > > >------------------------------------------------------------------------- >Peter Elmer E-mail: [log in to unmask] Phone: +41 (22) 767-4644 >Address: CERN Division PPE, Bat. 32 2C-14, CH-1211 Geneva 23, Switzerland >------------------------------------------------------------------------- > >