cannot run program "jar"

Hi,

I have the below error trying to run my service in debug mode.
Several facts:

  1. “jar” program is recognized by the system (PATH propertis are correct)
  2. my OS is WIN 7 x64 in Russian (no russian charachters/words in none of the project/coderunner paths), also all system errors printed correctly
  3. coderunner downloaded from the site (3.0.19), and i use cloud service
  4. service had never been deployed (as I want to test it locally first)
  5. used your video guide (https://www.youtube.com/watch?v=aFI4zqEcXtw) step-by-step (except of contents of the service), just in windows.
    attaching screenshot with the error and project rarhttp://support.backendless.com/public/attachments/574af6cb8e14e62ce9d7475f5c34ad14.png</img>

GeoActionWebService.rar (24.54MB)

Hi Vladimir,

Could you please run the following commands from the command prompt and let us know what they report?

java -version
javac -version

Regards,
Mark

http://support.backendless.com/public/attachments/c3ec5e57ce767001151813d2ffd416a3.png</img>

c3ec5e57ce767001151813d2ffd416a3.png

Thank you, this helps. Two more questions:

  1. can you run “jar -version” ?
  2. is your app with the 3.x or 4.0 backend?

Regards,
Mark

I’m using 3.x backend

http://support.backendless.com/public/attachments/1f11a699a4d7357d92fc7c0e024f7f97.png</img>

1f11a699a4d7357d92fc7c0e024f7f97.png

Everything looks good, which makes the error very odd. Does it also happen if you move the project directory to C: drive?

The same. I will try on another computer tonight, maybe smth with my pc.

So i tested on other pc, again with Russian windows, and got the exact same error. I suppose it has something to with OS language other than english.

However, I managed to compile the service to a jar, and successfully deployed it, though I had to debug it using lots of logs))
This will suit me for my project for now.

Thanks for the update, Vladimir. We will further investigate this problem on our end.

Hi. Could you show the output of this commands:
C:> echo %JAVA_HOME%
C:> echo %PATH%

You should have environment variable JAVA_HOME point to DISK:\path\to\jdk.
And it is not necessary, but it is good practice to add “%JAVA_HOME%\bin” to the PATH variable.