Hi Aniruddh,<br><br>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.<br><br>Perhaps try running the command for java as:<br>
java com.rabbitmq.examples.HelloServer<br><br>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 server.<br>
<br>Paul.<br><br><div class="gmail_quote">On Mon, Sep 7, 2009 at 2:30 PM, aniruddh narayan <span dir="ltr"><<a href="mailto:aniruddh.narayan@yahoo.co.in">aniruddh.narayan@yahoo.co.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
hi <br>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.....<br><img src="" alt=""><img src="" alt=""><br>C:\>javac HelloServer.java<br><br>C:\>java HelloServer<br>Exception in thread "main" java.lang.NoClassDefFoundError: HelloServer<br><br>can anybody please fill me in ,as to where the error is....the classpath is well set....<br>
<font color="#888888">aniruddh<br></font><div class="hm"><br><br></div></td></tr></tbody></table><div class="hm"><br>
<hr size="1"> See the Web's breaking stories, chosen by people like you. Check out <a href="http://in.rd.yahoo.com/tagline_buzz_1/*http://in.buzz.yahoo.com/" target="_blank"> Yahoo! Buzz</a>.</div><br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br>