Hello,

Is Cookie.java an application/applet/servlet..?
If it is Application(has method "main" in it) then your command should be

c:\...\ ...>java Cookie
not
java Cookie.java

if it is applet use Appletviever and if it is servlet, use servletrnner

Hope it helps,
Pankaj

Raffiudeen Illahideen <[EMAIL PROTECTED]> wrote:
Hello All;
   I have downloaded the jswdk1.0 today, and I was testing some existed java
files, named Cookie.java. I have downloaded the jswdk in the following
directory in my hard drive

C:\unzipped\jswdk1_0-win\jswdk-1.0\src\javax\servlet
==the Cookie.java is in the http folder which is under the servlet folder.
When I compile through JDK1.2 via DOS I got the following errors after
successful compilation.

ERROR MESSAGE:

C:\unzipped\jswdk1_0-win\jswdk-1.0\src\javax\servlet\http>javac Cookie.java

C:\unzipped\jswdk1_0-win\jswdk-1.0\src\javax\servlet\http>java Cookie.java
Exception in thread "main" java.lang.NoClassDefFoundError: Cookie/java

C:\unzipped\jswdk1_0-win\jswdk-1.0\src\javax\servlet\http>

===========PLEASE HELP ME IF I AM DOING SOMETHING WRONG! THANKS

rAFFI
[EMAIL PROTECTED]

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html


____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to