File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I can not find the class file

 
Maha Hassan
Ranch Hand
Posts: 133
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 133
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic