It may be necessary to update your Class Path with the bin directory if you are not the only account on your machine. code example
Example: set path in windows
set path=C:\Program Files\Java\jdk1.6.0_23\bin
set path=C:\Program Files\Java\jdk1.6.0_23\bin