Hi,
I don't what is going on. The InterestClient worked the other day. But I am
getting error again.
I typed:
C:\Interest>java -classpath
.;c:\jboss_dist\client\jboss-client.jar;c:\jboss_dist\client\jbosssx-client.jar;c:\jboss_dist\client\jnp-client.jar
InterestClient
The Output is:
Got context
Got reference
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/rmi/PortableRemoteObject
at InterestClient.main(InterestClient.java:46)
I don't know whether I need to add some more classpath. Can I get some
suggestions?
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