It would help if you provided more information about your problem...
Is the HelloClient program you are having problems with the one in
this tutorial from Sun?
Have you followed the compile and run sections of the tutorial completely?
What line is throwing the exception?