Title: Passing properties with spaces to run configurations

jdk1.3.1, b512, Win2k

I notice that if I set a properties argument in a run configuration which has spaces, the run configuration won't work.

For example, if I set up a Run Configuration to run class foo.Bar, and in the VM parameters edit box I put -Dmyprop="a value with spaces", the configuration won't run.  The run dialog will display this message:

c:\apps\jdk1.3.1\bin\javaw.exe -Dmyprop="a value with spaces" -classpath c:\myproject\output foo.Bar
java.lang.NoClassDefFoundError: value
Exception in thread "main" Process terminated with exit code 1

The information contained in this e-mail including any attachments may constitute Corvis Corporation Proprietary Information that is subject to Non-Disclosure Agreement and cannot be disclosed to any other party without the express consent of Corporation.

If you are neither the intended recipient of this e-mail nor responsible for delivering this e-mail to the intended recipient, note that any dissemination, distribution, copying, or retention of this e-mail is prohibited.

If you believe you have received this e-mail in error, we request that you notify the sender by return e-mail and then delete this mailand any return e-mail immediately.

Reply via email to