Latest owasp/zap2docker-stable can't find Java 11
See original GitHub issueDescribe the bug
Using the image owasp/zap2docker-stable
and running zap-api-scan.py
results in the following error:
Exiting: ZAP requires a minimum of Java 11 to run, found
Steps to reproduce the behavior
The full command that we run is:
zap-api-scan.py -I -d -r owasp_report.html -J owasp_report.json -t ${openapi_target} -f openapi -O ${docker_service}:${docker_port} -c api-scan-config.conf
Expected behavior
We would expect the ZAP container to start correctly, but it doesn’t and times out after a while.
Software versions
owasp/zap2docker-stable:latest
Screenshots
No response
Errors from the zap.log file
No response
Additional context
No response
Would you like to help fix this issue?
- Yes
Issue Analytics
- State:
- Created a year ago
- Comments:21 (13 by maintainers)
Top Results From Across the Web
java won't run on latest zap2docker in concourse #7496 - GitHub
Describe the bug We run a baseline scan in our CI/CD pipeline (concourse-ci) and use the owasp/zap2docker-weekly:latest The current version ...
Read more >Problem starting OWASP ZAP with OpenJDK 11 installed
Solution: Installing OpenJDK with the msi file. The installer has an option "JavaSoft (Oracle) registry keys" ...
Read more >owasp/zap2docker-stable:2.11.0 - Docker Hub
ENV PATH=/usr/lib/jvm/java-11-openjdk-amd64//bin:/zap/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin. 0 B. 19. ENV ZAP_PATH=/zap/zap.sh.
Read more >Release 2.10.0 - OWASP ZAP
Update Webswing to latest version (20.2.1) to work with newer Java versions. Update Java in stable image to version 11. Add support for...
Read more >getuniqueinstance(gethibernatetemplate().find java - You.com
java - Using Spring Hibernate getHibernateTemplate().find to to select . ... zaproxy/zaproxyLatest owasp/zap2docker-stable can't find Java 11#7556.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yep, this is the one. Moving to docker-engine 20.10.10+ fixed this for us.
Thanks for letting us know.