aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I can not find the class file " Watch "I can not find the class file " New topic
Author

I can not find the class file

Maha Hassan
Ranch Hand

Joined: Aug 02, 2005
Posts: 133
Hi,

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 Tokenize.java and compile it and use it

Thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
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 ]

Ping & DNS - updated with new look and Ping home screen widget
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: http://aspose.com/file-tools
 
subject: I can not find the class file
 
Similar Threads
Error :- Method getClassLoader() not found in class XYZ.jsp
my first java program
Using a class from a Jar File
classpath in dtdparser
Class not found exception