GeeCON Prague 2014*
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
Author

how to set classpath in DOS

Hrishikesh Maluskar
Ranch Hand

Joined: Jun 19, 2008
Posts: 115
If my .class file of H.java 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
www.licexpadvice.com
Pranav Bhatt
Ranch Hand

Joined: Mar 20, 2006
Posts: 284
Check this out
 
GeeCON Prague 2014
 
subject: how to set classpath in DOS