[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

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值