mac下安装配置java jdk,maven,resin
mac jdk安装及环境变量配置
安装http://www.ifunmac.com/2013/04/mac-jdk-7/
jdk安装目录:/Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home/
环境变量:http://hdu104.com/23
maven的安装与配置
http://www.cnblogs.com/wanyakun/p/4171741.html
注意:配置完环境变量,即修改/etc/profile后需要重启才能生效
修改/etc/profile需要sudo vim /etc/profile
保存时:wq! 强制保存
resin
先下载pro http://caucho.com/products/resin/download#download
安装http://www.caucho.com/resin-4.0/admin/starting-resin.xtp#OtherUnixLinuxSolarisandMacOSX
./configure -prefix=/Users/emma/Documents/workspace/resin-pro-4.0.43 -enable-64bit-jni
/Users/emma/Documents/workspace/resin-pro-4.0.43为最终resin被安装的目录,这个目录需要指定,不然默认就是/var/share/resin下,这个读resin.xml文件时会有问题