I am new to Cygwin. What are the normal steps that are followed when setting Java classpath and all for running programs in Cygwin?
It sounds like you need to convert between Windows and Unix-style paths (your Java probably wants Windows paths, your Cygwin talks UNIX). Here is a guide to convert between Unix and Windows paths in Cygwin, using the cygpath util.
cygpath