966198 wrote:Because you did something wrong - impossible to say what when you don't post the classpath you were using. Note that changes to environmental variables are not active in a running command prompt, you would have to open a new command prompt before the changed classpath is active.
Thank you very much, That's done the trick!
I did try putting the .jar file in this directory before and then changed the CLASSPATH accordingly but this didn't work.
Any idea why changing the CLASSPATH does not work but using the -cp option does?