[rabbitmq-discuss] java client error

Paul Jones pauljones23 at gmail.com
Mon Sep 7 15:05:03 BST 2009

Hi Aniruddh,

The HelloServer class is in the package com.rabbitmq.examples, so you'll
find the compiler will have placed the .class file into an appropriate
directory structure.

Perhaps try running the command for java as:
  java com.rabbitmq.examples.HelloServer

Running Java from the command line is generally unpleasant for any
non-trivial amount of code. I would recommend downloading (and finding a
guide for) Netbeans or Eclipse as these tools make things substantially
easier. Unfortunately, we're not able to provide any assistance with setting
up these tools though, since they really are out of the realm of the Rabbit


On Mon, Sep 7, 2009 at 2:30 PM, aniruddh narayan <
aniruddh.narayan at yahoo.co.in> wrote:

> hi
> the sever seems to be working fine.also there is no compilation error.but
> when i try to run the file "HelloServer"...the following error comes in.....
> C:\>javac HelloServer.java
> C:\>java HelloServer
> Exception in thread "main" java.lang.NoClassDefFoundError: HelloServer
> can anybody please fill me in ,as to where the error is....the classpath is
> well set....
> aniruddh
> ------------------------------
> See the Web's breaking stories, chosen by people like you. Check out Yahoo!
> Buzz <http://in.rd.yahoo.com/tagline_buzz_1/*http://in.buzz.yahoo.com/>.
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20090907/75b9c3f4/attachment.htm 

More information about the rabbitmq-discuss mailing list