“java.exe” is not recognized as an internal or external command, operable program or batch file

后端 未结 7 939
春和景丽
春和景丽 2021-01-16 04:52

I am writing an application that creates a Java portlet by the ant batch file with the cmd.exe using a Process object in C#.

When I pass the \"Create\" command to th

7条回答
  •  醉话见心
    2021-01-16 05:26

    You should check your PATH variable. You can use the set command to set the correct path to your java environment folder.

提交回复
热议问题