In Ubuntu 14.04 i have installed gradle using sdkman. When I execute "which gradle" in terminal from my primary account it shows path of gradle. Now I have another account hadoop having hduser, so after switching to hduser it is showing gradle is not installed. What should I do? How can I set path of gradle for hduser?
Using SDKMAN! with an IDE Therefore, the currently selected version of Java will also be available as current in that directory. In the same vein, Gradle or any other SDK will be installed under the candidates directory.
On android studio just go to File > Settings > Build Execution, Deployment > Gradle > Service directory path choose directory what you want.
The global properties file should be located in your home directory: On Windows: C:\Users\<you>\. gradle\gradle.
sdkman installs software only for your current user (placed under $HOME/.sdkman
). When you login as another user you will not have access to them. sdkman has init scripts called from your .bashrc/.zshrc that will append to your PATH. On my account gradle is /Users/marvi/.sdkman/candidates/gradle/current/bin/gradle
.
For a multi user install I would do a manual install. First option here: http://howtoprogram.xyz/2016/09/06/install-gradle-ubuntu-16-04/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With