I'm having home folder PATH issues with my Java install. I installed the jdk to \jdk. I tried to run a script and got an error pertaining to JAVA home folder not being found. I defined the JAVA home folder via nano ~/.bash_profile. Whenever I run the config.sh file I get the error below. I also get the same error when running -java version . Any ideas?
./config.sh: line 36: /jdk/bin/java: Permission denied