zoukankan      html  css  js  c++  java
  • [Stax] The steps of installing stax in Ubuntu 10.04

    1. Download the stax, and then uncompress it.

    http://stax-downloads.s3.amazonaws.com/sdk/stax-sdk-0.3.8-dist.zip


    2. Set the enviroment, open the file ~/.bash_profile (in fact that you may have to create it)

    代码
    #I'm using Ubuntu 10.4, and the java has been installed, I don't why I still have to set the path to java,
    #
    if not, I will got the error "groovy: JAVA_HOME not set and cannot find javac to deduce location, please set JAVA_HOME."
    export JAVA_HOME=/usr
    export PATH
    =$PATH:$JAVA_HOME
    export STAX_HOME
    =~/stax-sdk-0.3.8
    export PATH
    =$PATH:$STAX_HOME


    3. Refresh your terminal's bash session by executing

    source ~/.bash_profile


    4. Run and finish the details of installation of stax

    stax

    And I got the message as below:

    代码
    Downloading Stax SDK configuration from http://stax-downloads.s3.amazonaws.com/sdk/stax-sdk-config-0.3.3.xml
    .
    download completed
    usage: stax subcommand [options] [arguments]
    Stax command
    -line client, version 0.3.8
    Type 'stax help <subcommand
    >' for help on a specific subcommand.

    Project subcommands:
    clean
    compile
    create
    deploy
    getapp
    run

    App subcommands:
    app:delete
    app:deploy
    app:info
    app:list
    app:restart
    app:tail

    DB subcommands:
    db:create
    db:delete
    db:info
    db:list

  • 相关阅读:
    GET和POST两种基本请求方法的区别
    GET与POST类型接口
    TCP连接与断开详解(socket通信)
    QC02
    QC01
    tcp三次握手和四次挥手
    ssh整合
    redis主从切换
    缓存解释(一级缓存,二级缓存)
    cxf整合spring代码
  • 原文地址:https://www.cnblogs.com/davidhhuan/p/1835368.html
Copyright © 2011-2022 走看看