- Run the following command to unbundle SailFin and create a new parent directory named "sailfin".
% java -Xmx256m -jar filename.jar
- Change directory to "sailfin".
% cd sailfin
- If you are using a machine with an operating system that is a derivative of UNIX(tm), set the execute permission for the Ant binaries that are included with the SailFin bundle.
% chmod -R +x lib/ant/bin
% lib/ant/bin/ant -f setup.xml
OR for Windows:
% lib/ant/bin/ant -f setup.xml
For SailFin with Clustering supported installation, just change step 4 from the above installation.% lib/ant/bin/ant -f setup-cluster.xml
OR for Windows:
% lib/ant/bin/ant -f setup-cluster.xml
- 遇到问题:(1)JAVA_HOME路径没有加入到系统路径中,解决方法是将jdk的路径加入到JAVA_HOME中。(2)显示java.home路径错误,解决方法是在setup.xml中找到<target name="get.java.home">下的<property name="local.java.home" value="C:/Program Files/Java/jdk1.6.0_10"/>将value值改为jdk的路径即可。
Windows中Sailfin的安装
最新推荐文章于 2012-07-06 17:46:33 发布