place the directory in which you are working in the classpath.add the directory name to the classpath in autoexec.bat file. subbu --- Xunming Liu <[EMAIL PROTECTED]> wrote: > Hi: > > here I just ask a simple question. > > I want to put two java files and created classed in > the same package > > e.g. > > fileOne.java can create fileOne.class > > But I want to use the functions of fileOne.java in > fileTwo.java > > when I compile fileTwo.java using > > Javac fileTwo.java > > it show's: "Class fileOne not found" ! > > How I solve this problem? > > Thanks! > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with > body: "signoff JSP-INTEREST". > 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 __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". 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
