Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help with dos batch script

 
Martin Lira
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,
I have a batch script that invokes a java application. I get this error and dont seem to understand its cause.


My batch file looks like this:


I think theres some problem because there's a space between the "Program Files"

Any help is appreciated.

Martin
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A quoted blank should work.
alternative

but perpaps your com.mypackage.JavaApplication isn't found.
If in your current working dir (C:\sample\dir)

or
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic