hi,
ok...let's try
you place your javafiles in hte directory c:\mydir
now, what u have to do is simply set CLASSPATH=%CLASSPATH%;c:\mydir;
and that's it :-)
or, run javac -classpath c:\mydir; *.java
and then java -classpath c:\mydir ...
hope this helps
br
marco
> -----Original Message-----
> From: ext Sachin S. Khanna [mailto:[EMAIL PROTECTED]]
> Sent: 02. May 2001 10:21
> To: [EMAIL PROTECTED]
> Subject: Re: 3 classes in same dir can't see each other
>
>
> It looks that you are trying too hard and too much to get
> your source code
> working. This has happened with everybody at sometime or other. Give
> yourself some time, relax if possible.
> And to get some assistance from this list, post the source
> code of your
> .java files as well as the classpath settings and your
> directory structure
> in which the files are present.
> Be sure someone out here would surely help you :-).
> Have a nice day.
> With regards,
> Sachin S. Khanna
> http://www.emailanorder.com
> ----- Original Message -----
> From: drew w <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 02, 2001 3:03 AM
> Subject: 3 classes in same dir can't see each other
>
>
> > I am trying to reference one class file from another but
> for some reason
> it
> > isn't working.
> > I have set the CLASSPATH to point to this dir.
> > I have set the PATH to point to this dir.
> > I have put "package project;" at the top of each one.
> > I have even tried "import Person;" which is the name of the
> class file.
> >
> > Any ideas are very much appreciated?
> >
> >
> > thanks,
> > andrew
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at http://explorer.msn.com
> >
> >
> ==============================================================
> =============
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> > For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST
> DIGEST".
> > Some relevant FAQs on JSP/Servlets can be found at:
> >
> > http://java.sun.com/products/jsp/faq.html
> > http://www.esperanto.org.nz/jsp/jspfaq.html
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> > http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
> >
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets