Sorry for assuming this, but do you have an import statement like:

import javax.rmi.PortableRemoteObject;

in the class in which you want to use narrow()?????
This class exists for sure in JDK1.3.


Christine wrote:

> hi, Danch
>
> I set the environment variable PATH = c:\jdk1.3\bin and JAVA_HOME = c:\jdk1.3
> is it right? Even I put classpath c:\jdk1.3\jre\lib\rt.jar, i am getting
> exception. Can you please tell me what is the right setting I should use? Thank
> you very much.
>
> Christine
>
> "danch (Dan Christopherson)" wrote:
>
> > Christine wrote:
> >
> > > I am using JBoss 2.2.2 and JDK1.3. But I am getting error:
> > > java.lang.NoClassDefFoundError: javax/rmi/PortableRemoteObject
> > >
> > > I have to cast after name lookup. Can anyone tell me what i should do to use
> > > narrow()?
> > >
> >
> > That class should be included in jdk1.3. Are you sure that's what's on
> > your classpath when you compile?
> >
> > _______________________________________________
> > 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


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to