Multiple command-line parameters problem
Petar <[email protected]> Sat, 27 Dec 2003 18:49:08 -0800 (PST)
| Newsgroups | gmane.comp.java.jswat.devel,gmane.comp.java.jswat.user |
|---|---|
| Message-ID | <[email protected]> |
After reading the help files for JSwat I tried to create a batch file which will launch JSwat with proper classpath and sourcepath set. I tried passing the following parameters: classpath "C:\temp\foo.jar;C:\temp\bar.jar" This didn't work. The classpath was getting set to C:\temp\foo.jar only and I was getting "Command not found" error for C:\temp\bar.jar. After trying many different things I finally got it to work by specifying the following: classpath \"C:\temp\foo.jar;C:\temp\bar.jar\" I read the comment about the '\' character in the help but it didn't communicate to me that I needed to do the above esacping in order to get the command line to work. The examples in help also do not show this usage. Is this a bug or did I just not understand the documentation? I am using: JSwat 2.19 JDK 1.4.2_02 Windows XP Pro Thanks, Petar