CreateProcess error=206, The filename or extension is too long

前端 未结 3 480
一整个雨季
一整个雨季 2020-12-01 18:37

I\'m trying to call Findbugs via Ant, but receiving this error:

Cannot run program \"C:\\Program Files (x86)\\Java         


        
3条回答
  •  日久生厌
    2020-12-01 19:17

    I think one of the effective file paths are really long when java tries to compile clases.

    One worth try is to put codebase in a directory such as C:\MyProject instead of something like C:\Users\MyName\workspace\MyProject

提交回复
热议问题