File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes I can not find the class file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I can not find the class file " Watch "I can not find the class file " New topic

I can not find the class file

Maha Hassan
Ranch Hand

Joined: Aug 02, 2005
Posts: 133

I downloaded a dtdparser to use it in my programs .And it had a sample program with it and the thing is when i try to write"Z:\java Files\java com.wutka.dtd.Tokenize test.dtd" it works althoug i removed the jar file for the parser from the working directory "java files " and i do not know where the source of the file is to change it and i even removed the Tokenize.class from "C:\Program Files\Java\dtdparser-1.21\classes\com\wutka\dtd" but it is still working..

All i want to know is where is this class file to be able to modify the and compile it and use it

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
If you are not using "-classpath", then you must have either set the CLASSPATH environment variable (tpye "echo %CLASSPATH%" at the command line prompt), or the jar file is in the extension folder of your JDK installation (named something like jre/lib/ext).

As to the source, I seem to remember you posting it to one of the several other threads you started about this problem.
[ July 14, 2006: Message edited by: Ulf Dittmer ]
Maha Hassan
Ranch Hand

Joined: Aug 02, 2005
Posts: 133
I got the idea about the jar and i did set the class path using the answers in other posts now the problem is i do not know from where it complies..i mean where is this tokenize.class ?? although it works when i type java tokenize test.dtd
I agree. Here's the link:
subject: I can not find the class file
It's not a secret anymore!