I installed sdkman in my mac machine and after completion of installation steps and when I tried for sdk to install lazybones in my computer, I am getting error as "sdk command is not found". If anybody have any solution, please let me know.
I installed sdkman in my mac machine and after completion of installation steps and when I tried for sdk to install lazybones in my computer, I am getting error as "sdk command is not found". If anybody have any solution, please let me know.
Very simple in case you use MAC & OH MY ZSH
step 1:
vim ~/.zshrc
step 2:(Add at the end of the file)
source ~/.bash_profile;
step 3:(Execution shell)
> source ~/.bash_profile
You can use sdkman : ā sdk
We periodically need to update the local cache. Please run:
$ sdk update
...
BINGO!!!
If you already installed SDK please close the terminal and open again.
if you haven't installed it open your terminal & write
curl -s https://get.sdkman.io | bash
I resolved it problem configuring the default version of gradle with it command:sdk install gradle && sdk default gradle
Try this,
Step-1:
curl -s https://get.sdkman.io | bash
Step-2:
source "$HOME/.sdkman/bin/sdkman-init.sh"
If you have the problem at windows: On windows mostly the find-command isn't found. Add in .bashrc the following
export PATH=/usr/bin:$PATH
this ensures that the linux find is used instead of the windows one.