Two Laptop Bag*
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 Android Security Essentials Live Lessons this week in the Android 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: 41124
    
  45
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 - my free Android networking tools app
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
 
Don't get me started about those stupid light bulbs.
 
subject: I can not find the class file
 
Similar Threads
my first java program
Class not found exception
Using a class from a Jar File
Error :- Method getClassLoader() not found in class XYZ.jsp
classpath in dtdparser