# Post-step for 'Setup Java' fails on catthehacker/ubuntu:act-24.04 with node not found

**URL:** <https://forum.gitea.com/t/post-step-for-setup-java-fails-on-catthehacker-ubuntu-act-24-04-with-node-not-found/11678>\
**Category:** Actions\
**Created:** [September 7, 2025, 5:42pm UTC](https://forum.gitea.com/t/post-step-for-setup-java-fails-on-catthehacker-ubuntu-act-24-04-with-node-not-found/11678 "2025-09-07T17:42:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![x.kroyo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/x.kroyo/32/7088_2.png) [@x.kroyo](https://forum.gitea.com/u/x.kroyo)\
**Post date:** [September 7, 2025, 5:42pm UTC](https://forum.gitea.com/t/post-step-for-setup-java-fails-on-catthehacker-ubuntu-act-24-04-with-node-not-found/11678/1 "2025-09-07T17:42:06Z")

</div>

I’m running a workflow for a Java project. The workflow succeeds in all main steps but fails during **post-step** cleanup for actions like actions/checkout@v4 and actions/setup-java@v4. The error in the logs is:

```auto
OCI runtime exec failed: exec failed: unable to start container process: exec: "node": executable file not found in $PATH: unknown
❌ Failure - Post Setup Java

```

**Details:**

- Job runs on `runs-on: ubuntu` mapped to Docker images:

Node.js is installed in all images at `/opt/acttoolcache/node/18.20.8/x64/bin` and is on `$PATH.` Confirmed with:

`docker run --rm ``ghcr.io/catthehacker/ubuntu:act-24.04`` /bin/bash -c ‘echo $PATH; which node; node -v’`

**Outputs**

`/opt/acttoolcache/node/18.20.8/x64/bin:…other paths…`  
`/opt/acttoolcache/node/18.20.8/x64/bin/node`  
`v18.20.8`
