-bash: /usr/java/jdk1.8.0_101/bin/java: Permission denied

Setting JDK in Linux Environment  
After configuring/etc/profile, run Java – version and the following prompt will appear

terms of settlement:

Go to the directory where JDK is located. Implementation:

chmod 777 jdk1.8.0_ 101/bin/java

Hope to help you

 


Read More: