This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes how to set classpath in DOS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to set classpath in DOS" Watch "how to set classpath in DOS" New topic

how to set classpath in DOS

Hrishikesh Maluskar
Ranch Hand

Joined: Jun 19, 2008
Posts: 115
If my .class file of is in a folder classes/source1/com , how to set the classpath.

when i write
java -classpath \classes\source1\com;.; H
it is giving NoClassDefFoundError

SCJP 1.5
Pranav Bhatt
Ranch Hand

Joined: Mar 20, 2006
Posts: 284
Check this out
I agree. Here's the link:
subject: how to set classpath in DOS
jQuery in Action, 3rd edition