[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem with jikes / httpclient



On Sun, May 13, 2007 at 10:49:13PM +0200, Flavio Rump wrote:
> thank you, it compiled!
> 
> now I am getting the following though:
> 
> java -cp /usr/share/java/commons-httpclient.jar HttpClientTutorial
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> HttpClientTutorial
> 
> what's missing here?

You need to put the current dir (where HttpClientTutorial.class is
located) on the classpath too.

For more infos about this I suggest you to read a book about the Java
programming language. These problems are out of the scope for this
mailing list.


Cheers,
Michael
-- 
 .''`.  | Michael Koch <konqueror@gmx.de>
: :' :  | Free Java Developer <http://www.classpath.org>
`. `'   |
  `-    | 1024D/BAC5 4B28 D436 95E6 F2E0 BD11 5923 A008 2763 483B



Reply to: