Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

About Classpath and jar file...

807588May 31 2009 — edited May 31 2009
Can someone help me in understanding the following instructions?
http://clarkware.com/software/JDepend.html
Windows 

To install JDepend, follow these steps: 

1.Unzip the jdepend-<version>.zip distribution file to a directory referred to as %JDEPEND_HOME%. 

2.Add JDepend to the classpath: 

set CLASSPATH=%CLASSPATH%;%JDEPEND_HOME%\lib\jdepend-<version>.jar
I tried many ways and searched throughout google, still don't seem to get it right!
Let's say I extracted the zip file to D:\JDepend, then my jar file "jdepend-2.9.jar" will be in "D:\JDepend\jdepend-2.9\lib".
What should I type into the command prompt or under "Enviroment Variables"? What should i be seeing after I successfully installed JDepend?
Whatever I typed don't seem to work!!

After that I am suppose to type this in commad prompt to build JDepend:
cd $JDEPEND_HOME
ant jar
What I got is "'ant' is not recognized as an internal or external command,
operable program or batch file."

Help! Thanks...
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 28 2009
Added on May 31 2009
1 comment
286 views