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

  • 相关阅读:
    Java——数组
    Java——控制循环结构
    脏检查
    Session跟SessionFactory的线程安全与非安全
    脏检查and刷新机构
    oracle函数
    多线程下单列模式
    多线程
    线程同步
    文件上传功能的实现
  • 原文地址:https://www.cnblogs.com/davidhhuan/p/1835368.html
Copyright © 2011-2022 走看看