include the directory (or jar) where the
InterestClient class is located in your classpath...
--- Christine <[EMAIL PROTECTED]> wrote:
> I tried to call the test client without .class. but
> i am getting the same error.
>
> Exception in thread "main"
> java.lang.NoClassDefFoundError: InterestClient
>
> Allen fogleson wrote:
>
> > just call it without the .class if you call it
> with .class java is looking
> > for a class called "class" in the package
> InterestClient
> >
> > Al
> >
> > ----- Original Message -----
> > From: Christine <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, June 21, 2001 12:13 AM
> > Subject: [JBoss-user] How to set the classpath to
> run the InterestClient
> > sample
> >
> > > Hi,
> > >
> > > I am using JBOSS 1.2.2 on WIN2000. I followed
> the documentation to run
> > > the test client from the directory the
> InterestClient was compiled.:
> > >
> > > java -classpath
> > >
> >
>
c:\jboss_dist\client\jboss-client.jar;c:\jboss_dist\client\jbosssx-client.ja
> > r;c:\jboss_dist\client\jnp-client.jar
> > > InterestClient.class
> > >
> > > however, i am getting: Exception in thread
> "main"
> > > java.lang.NoClassDefFoundError:
> InterestClient/class
> > >
> > > Could any tell me how i should set the
> classpath? thanks
> > > --
> > > Jia (Christine) Li
> > > Department of Computer Science
> > > University of Calgary
> > > Tel: 403-2207140 (O)
> > >
> > >
> > >
> > > _______________________________________________
> > > JBoss-user mailing list
> > > [EMAIL PROTECTED]
> > >
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> >
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
>
> --
> Jia (Christine) Li
> Department of Computer Science
> University of Calgary
> Tel: 403-2207140 (O)
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user