Hi Pedro

1. check if the .class file is part of a package. If it is then it should be in
      the appropriate directory structure.

   for e.g. if the package name is  project.testclass then  create a directory
      structure - project\testclass and copy your class file to the new
      directory

2. Use the following syntax to run the file : java -classpath %claspath%;.;
      <filename>.class

If the .class is not part of a package skip step 1.



hth

-Rajesh

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I'm trying to run a ".class" file using the java command in JDk1.2.2 but it
doesn't work.  It gives this error message:
"Exception in thread "main" java.lang.NoClassDefFoundError: ParseFDF"
What should I do to run this .classfile!
I'll really appreciate any kind of help!
thanks,
Pedro Palos

___________________________________________________________________________
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