[rabbitmq-discuss] java client library
pauljones23 at gmail.com
Tue Sep 8 06:13:26 BST 2009
Also, have you added the current directory (.) to the classpath? Without
this, Java won't search for your class files.
On Tue, Sep 8, 2009 at 6:12 AM, Paul Jones <pauljones23 at gmail.com> wrote:
> Your second version has a lower-case s in server. Is that a mis-type in the
> email, or is that the problem in the command?
> Your version of Java should be adequate.
> On Tue, Sep 8, 2009 at 5:44 AM, aniruddh narayan <
> aniruddh.narayan at yahoo.co.in> wrote:
>> I copied the file "Helloserver.java " from the
>> C:\rabbitmq-java-client-1.6.0\test\src\com\rabbitmq\examples onto my c drive
>> and i am able to compile the file and two class file HelloServer.class and
>> HelloServer$1.class file are created in my c drive......but as soon as i run
>> it with the command..
>> C:\>javac HelloServer.java
>> C:\>java HelloServer
>> Exception in thread "main" java.lang.NoClassDefFoundError: HelloServer
>> also i tried running it with the command:
>> java com.rabbitmq.examples.Helloserver
>> but the problem continues .......
>> also i checked out my version of java......its 1.5.0_09....is this the
>> Love Cricket? Check out live scores, photos, video highlights and more. Click
>> here <http://in.rd.yahoo.com/tagline_cricket_2/*http://cricket.yahoo.com>
>> rabbitmq-discuss mailing list
>> rabbitmq-discuss at lists.rabbitmq.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rabbitmq-discuss