> > java -cp .:openchord_1.0.4.jar:log4j.jar ClientPackage/ChatClient $*
>
> You use a dot to separate packages, so your command should be:
> java -cp .:openchord_1.0.4.jar:log4j.jar ClientPackage.ChatClient $*
Thank you very much for the reply.
I made the change and am still receiving the same error.
$ ./runScript.sh -master kevin
Exception in thread "main" java.lang.NoClassDefFoundError:
ClientPackage/ChatClient
$ cat runScript.sh
java -cp .:openchord_1.0.4.jar:log4j.jar ClientPackage.ChatClient $*
$
KDawg44 - 29 Nov 2007 19:09 GMT
> > > java -cp .:openchord_1.0.4.jar:log4j.jar ClientPackage/ChatClient $*
>
[quoted text clipped - 11 lines]
> java -cp .:openchord_1.0.4.jar:log4j.jar ClientPackage.ChatClient $*
> $
Okay, I was running the script from within the ClientPackage
directory. Once I moved it out it is running now. However, I am
getting another class not found exception:
$ ./runScript.sh -master kevin
Exception in thread "main" java.lang.NoClassDefFoundError: de/uniba/
wiai/lspi/chord/service/ServiceException
at ClientPackage.ChatClient.<init>(ChatClient.java:26)
at ClientPackage.ChatClient.main(ChatClient.java:115)
This is part of the Chord implementation. Shouldn't this be in the
openchord_1.0.4.jar file? Why is it not finding this? Also, the
lines this is referring to do not have any code at all and are not
using Chord.
Thanks for any help.
KDawg44 - 29 Nov 2007 19:10 GMT
> > > > java -cp .:openchord_1.0.4.jar:log4j.jar ClientPackage/ChatClient $*
>
[quoted text clipped - 28 lines]
>
> Thanks for any help.
Please disregard. Typo in the run script. Sorry to waste your time.