in reply to Re: CLASSPATH problem when using backticks
in thread CLASSPATH problem when using backticks

Thanks all for responding. The error given by java was actually misleading. Though the error mentioned ClassNotFound, the actual issue was in one of the command line parameters which also had a space in it. When I put that in quotes, I got the expected behaviour.
  • Comment on Re^2: CLASSPATH problem when using backticks

Replies are listed 'Best First'.
Re^3: CLASSPATH problem when using backticks
by ikegami (Patriarch) on May 22, 2008 at 07:03 UTC

    the actual issue was in one of the command line parameters which also had a space in it.

    We know. That's what all the solutions we provided addressed. Adding quotes is actually a rather poor solution. The solutions provided go beyond adding quotes and avoid the need for quoting and escaping completely. That's much safer and reliable.