Hi.
With the JShell library, how should you run a program (JAR) that I have packaged with B4JPackager11 (EXE).
When I run the shell it throws this at me:
Success: false
ExitCode: -559038737
StdOut:
StdErr: org.apache.commons.exec.ExecuteException: Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "P1.exe" (in directory "F: \ PROGRAMMING \ B4J \ Packaged Program" ): CreateProcess error = 2, The system cannot find the specified file)
Private Sh1 as Shell
Sh1.Encoding = "utf8"
Sh1.Initialize("Sh1", Aplicacion, Null)
Sh1.WorkingDirectory = TextField1.Text
Sh1.Run(-1)
Try with the attached files, P1 package it with B4JPackager11 and copy the path of P1.exe into Shell_P1, Shell_P1 will say it can't find P1.exe ....
How should I correctly run the Shell?
Thanks for the help.