当前位置: 首页 > 工具软件 > SailFin > 使用案例 >

Windows中Sailfin的安装

柴丰
2023-12-01
  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的路径即可。
 类似资料: