MasterDevX / Termux-Java

Install Java (Open-JDK-8) in Termux without root!
382 stars 82 forks source link

Java Command Not Found #26

Closed HiddenPirates closed 3 years ago

HiddenPirates commented 4 years ago

After getting success massage of installation.. When I run java command in termux. I got command not found error. Screenshot_2020-07-04-14-29-47-54_84d3000e3f4017145260f7618db1d683

7Ragnarok7 commented 4 years ago

I think you have to include the bin folder in your path in environment variables.

tathastu871 commented 4 years ago

export PATH="$PREFIX/bin:$PATH" proot -0 java --version

MasterDevX commented 3 years ago

Suggestions from @7Ragnarok7 and @tathastu871 should work.