question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: java: not found

See original GitHub issue

I’m using v2.5.0 of the action, and started getting this error today.

./gradlew: 234: exec: /opt/hostedtoolcache/Java_Zulu_jdk/17.0.1-12/x64/bin/java: not found

My config is:

      - uses: actions/setup-java@v2.5.0
        with:
              java-version: 17
              distribution: 'zulu'

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:11
  • Comments:8

github_iconTop GitHub Comments

1reaction
eygrabercommented, Jan 16, 2022

Looks like it is working for me now.

1reaction
rkrishnan2012commented, Jan 14, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

What Is The Solution Of Java Error: Command Not Found?
Check the name of the command and confirm that there is no typo · Ensure that Java is installed in your system ·...
Read more >
3 Quick Ways to Fix Java Runtime Environment not Found
If you see the Java Runtime not found error, it means that you have an older version installed. This article will guide you...
Read more >
Unable to resolve this error javac is not recognized as an ...
It means that javac.exe executable file, which exists in bin directory of JDK installation folder is not added to PATH environment variable. You ......
Read more >
Troubleshooting tips for running Java
Restart your browser after installing Java to enable the new version · Give permission to run Java, when prompted by the browser ·...
Read more >
java not found after install but java programs run [closed]
2 Answers 2 · Open Control Panel · Open Java · Click the 'Java' tab · Click 'View' · Click the checkbox in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found