Windows中Sailfin的安装

  1. Run the following command to unbundle SailFin and create a new parent directory named "sailfin".
       % java -Xmx256m -jar filename.jar
    
     
  2. Change directory to "sailfin".
       % cd sailfin
  3. 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
  4. 遇到问题:(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的路径即可。
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值