Service Virtualization

 View Only
Expand all | Collapse all

Referring external files for Jar execution

Jump to Best Answer
  • 1.  Referring external files for Jar execution

    Posted Oct 04, 2016 05:58 PM

    HI,

    When i am executing jar file using Dynamic Java Execution i am getting error saying "***.txt" file missing error, One of the function in jar file has current directory path to read the file, in this scenario where I need to place the referring file. 



  • 2.  Re: Referring external files for Jar execution
    Best Answer

    Broadcom Employee
    Posted Oct 04, 2016 06:47 PM

    I would guess that the referred file needs to be placed in the same location as the jar file.

    Eg if your jar file is in DEVTESTHOME\hotdeploy folder, try placing the referred file in the same location