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 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
Pranav Bhatt
Ranch Hand

Joined: Mar 20, 2006
Posts: 284
Check this out
I agree. Here's the link: http://aspose.com/file-tools
subject: how to set classpath in DOS
Similar Threads
package com.example.model.* does not exist ERROR head first servlets
HFS page 171
Unable to set CLASSPATH in Linux-based OS
Compilation of java files using javac -d option
package com.example.model ERROR