activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Co <...@exist.com>
Subject Re: Can you help me ?
Date Fri, 01 Dec 2006 01:34:57 GMT
Specify in your classpath where the App.class is located. i.e.  java -cp 
. App

cob888 wrote:
> Tha sample of  "Helloworld" in activemq ,which I success to compile by
> javac;they product four *.class
> files(App$HelloWorldBroker.class;App$HelloWorldConsumer.class;App$HelloWorldProducer.class;App.class).
>
> But run error when  I use command  "c:\java App",such as :
>
> C:\incubator-activemq-4.0.2\helloworld>java App
> Exception in thread "main" java.lang.NoClassDefFoundError: App
>
> How to deal with the problem???
>
>   


Mime
View raw message