Archive for December 14, 2006

Taming the classpath

For those of you new to Java one of the biggest challenges is to understand classpath, particularly when working with packages. It can be tricky in windows environment when the file system and path separator is different from many of the other standard UNIX/Linux systems. And classpath issue can simply eat away time and the mistake could be as silly as not having a “.” (which represents the current directory) in the classpath. This IBM article “Managing the Java classpath (Windows)” in IBM Developer Works gives a good detail on how to handle and setup classpath in Windows environment to avoid common pitfalls.