I have already added default-jre in the package.txt file but I’m still getting this error. kindly help me resolve this.
Thanks for posting!
Can you change your “package.txt” file to “requirements.txt” and reboot the app?
I have changed name to requirement.txt, but error still persists.
streamlit is unable to run java under subprocess .
It would be helpful if you posted your repo @n33tus.
Installing java is indeed through the
packages.txt file, not
requirements.txt. But without seeing the code, I can’t give you any specific recommendations about what might be wrong.
Make sure to try with the file being named packages.txt and not package.txt
i got my problem resolved. thank you so much for your support