问题
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.
回答1:
you should append those two lines inside your .bash_profile file.
Usually located in your $HOME Tap nano $HOME/.bash_profile
and then append those two lines at the end the file using your prefered editor (nano,vim..):
# SDK Man replaced GVM. Using for Groovy, Gradle, and Maven Version Management
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
you can refer to this link: https://www.bonusbits.com/wiki/HowTo:Install_SDKMan_on_MacOS_or_Linux
回答2:
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.
来源:https://stackoverflow.com/questions/45392965/sdk-command-is-not-found-is-coming-the-terminal