views:

56

answers:

1

I'm still working on this problem: http://stackoverflow.com/questions/2610469/java-runtime-command-line-process

Based on what one of the contributors has said I tried the following: So I've tried adding the path to "gs" in my "Run Configurations" -> Environment Tab and "Linked Resources" (Preferences -> General -> Workspace -> Linked Resources). Neither has worked...

But it's still not working, I'm getting the same error.

Any other ideas? Because I'm all out.

A: 

Java really knows nothing about your Windows PATH. You've got two options here:

  1. Have your executable on your class path.
  2. Have full path to your executable in your command line.

IMO #2 is much simpler. If you don't want to hard code it - read it from config file or supply it as system property.

eugener