1. If the hands-on ability is poor, it is recommended to download the version play-2.2.6: Play release
Configure environment variables, open the terminal and enter: vim ~/.bash_profile
Configure environment variables in the editor, as follows:
export PLAY_HOME= ...unzip path ../play-2.2.6
export PATH=$PATH:$PLAY_HOME
Then save the configured environment variables
To make the configuration take effect immediately enter: source ~/.bash_profile
Verify whether the environment variable is configured successfully: play help
PS: Only supported versions of java 5-11
2. If you install a higher version, you can install it according to the official website, the Chinese version
Play Framework Framework Installation Guide- Programmer-Beginner- Blog Garden