Am trying to run the command './gradlew appengineDownloadSdk' to setup a project on ubuntu, I have my java installed and also set up my JAVA_HOME, but I don't know why I am getting this error.
Can someone please help me out and I will be very much thankful.
Thank you.
Your PATH variable should end /bin not /java
You would have JAVA_HOME set to /usr/lib/jvm/java-8-oracle
so the line in .bashrc to set the PATH would read
export PATH=$JAVA_HOME/bin:$PATH
Why are you using Java7? Why haven't you set Java8 as your default version?
Campbell Ritchie wrote:Your PATH variable should end /bin not /java
You would have JAVA_HOME set to /usr/lib/jvm/java-8-oracle
so the line in .bashrc to set the PATH would read
export PATH=$JAVA_HOME/bin:$PATH
Why are you using Java7? Why haven't you set Java8 as your default version?