Article - CS404988

Getting error when executing "ant -f codebase/MakeJar.xml custUpdate" in Windchill

Modified: 10-Nov-2023   


Applies To

  • FlexPLM 12.0 to 12.1
  • Windchill PDMLink 12.0 to 12.1

Description

  • Getting error when executing ant -f codebase/MakeJar.xml custUpdate:
    BUILD FAILED
    /opt/xxx/ptc/Windchill_12.1/Windchill/codebase/MakeJar.xml:748: The following error occurred while executing this line:
    /opt/xxx/ptc/Windchill_12.1/Windchill/codebase/MakeJar.xml:505: The following error occurred while executing this line:
    /opt/xxx/ptc/Windchill_12.1/Windchill/codebase/MakeJar.xml:486: The following error occurred while executing this line:
    /opt/xxx/ptc/Windchill_12.1/Windchill/codebase/MakeJar.xml:478: The following error occurred while executing this line:
    /opt/xxx/ptc/Windchill_12.1/Windchill/codebase/MakeJar.xml:219: Execute failed: java.io.IOException: Cannot run program "/opt/xxx/ptc/Windchill_12.0/Java_11/bin/jar" (in directory "/opt/xxx/ptc/Windchill_12.1/Windchill/codebase"): error=2, No such file or directory
This is a printer-friendly version of Article 404988 and may be out of date. For the latest version click CS404988