Hello,
i edited the autoexec.bat and it still won't work.
Sigh.
I cna't proceed to jsp if i cna't get this right..
set TOMCAT_HOME=c:\tomcat
set JAVA_HOME=c:\jdk1.3
set path=%path%;c:\jdk1.3\bin;c:\jdk1.3\lib
SET PATH=%TOMCAT_HOME%\bin;%PATH%
set CLASSPATH=.;
set
CLASSPATH=%classpath%;c:\jdk1.3\lib\tools.jar;c:\jdk1.3\lib\dt.jar;c:\jdk1.3\jre\lib\i18n.jar;c:\jdk1.3\jre\lib\jaws.jar;c:\jdk1.3\jre\lib\rt.jar;c:\jdk1.3\jre\lib\sunrsasign.jar;
set
classpath=c:\tomcat\lib\webserver.jar;c:\tomcat\lib\jasper.jar;c:\tomcat\lib\servlet.jar
Jay P wrote:
> This is a classpath problem. Edit your autoexec.bat
> file to have the following line
>
> SET CLASSPATH=.;
> THEN find all the jar files that come with jdk. in a
> notepad file write down all the full paths to these
> jar files including the jar file itself
> for example
> c:\jdk\src.jar
> c:\jdk\rt.jar etc.
> and include directories that have a bunch of class
> files in them (that are relevant to the jdk).
> then
> SET
> CLASSPATH=%CLASSPATH%;C:\JDK\SRC.JAR;C:\JDK\RT.JAR;
> Dont forget to include . in the classpath.
>
> -Jay Parikh
> --- meiyi leong <[EMAIL PROTECTED]> wrote:
> > I've downloaded jdk1.3, hoping it to run well , a
> > prerequisite for
> > TOMCAT.
> > The tomcat server can run very well, but not jdk1.3.
> > When i run 'java HelloWorld', the error appears...
> >
> > Exception in thread "main"
> > java.lang.NoClassDefFoundError: HelloWorld
> >
> > HOw do i handle it?
> > Helppp
> >
> >
> ===========================================================================
> > 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
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.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