8.7
设置JAVA_HOME
mac
- 编辑.bash_profile文件:vim ~/.bash_profile
- 添加以下内容: export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home export PATH=JAVA_HOME/bin:PATH
- 使修改的文件生效:source ~/.bash_profile
- 打开Mac的终端,检查JDK是否安装成功:java -version
windows
mac配置sublime text3
ant的使用和安装
InstallAnywhere
svnant
Ant整合svnant(三)
- 从网上下载svnant 包,下载地址:
svnant
将下载好的svnant 解压将 lib目录下的所有jar复制到ant主目录中的 lib目录下。
groovy
官网
Install Binary
-
First, Download a binary distribution of Groovy and unpack it into some file on your local file system.
-
Set your GROOVY_HOME environment variable to the directory you unpacked the distribution.
-
Add GROOVY_HOME/bin to your PATH environment variable.
-
Set your JAVA_HOME environment variable to point to your JDK. On OS X this is /Library/Java/Home, on other unixes its often /usr/java etc. If you’ve already installed tools like Ant or Maven you’ve probably already done this step.
网友评论