Check for . (dot) presence in the current CLASSPATH settings .

You need to have setting like this

for e.g.
in ksh
CLASSPATH=.:$CLASSPATH$.:
export CLASSPATH


-----Original Message-----
From: A mailing list about Java Server Pages specification and
reference
[mailto:[EMAIL PROTECTED]]On Behalf Of paurnima sabne
Sent: Friday, April 21, 2000 4:03 PM
To: [EMAIL PROTECTED]
Subject: Error Can't find class sun/tools/javac/main


Hi

While compiling java file from javawebserver2.0 root
i have given folling command

javac -cp d:/javawebserver2.0/lib/servlet.jar -d
javawebserver2.0/servlets
myfirst.java


After executing, it gives following error
"Can't find class sun/tools/javac/main"

What is the reason behind it? And what is the solution?

======================================================================
=====
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

===========================================================================
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

Reply via email to