There are RPM source in the groovy official website.
But I meet some erorr.
So I recommand you use Zip
Download link as below:
#wget -S http://dist.groovy.codehaus.org/distributions/groovy-binary-1.6.1.zip
Unzip it:
#unzip groovy-binary-1.6.1.zip
set the environment:
vi /etc/profile
export GROOVY_HOME=/etc/groovy/groovy-1.6.1
export PATH=$GROOVY_HOME/bin:$PATH:.
By the Way,JAVA HAVE TO INSTALL FIREST
JAVA_HOME=/usr/java (depend on your locate)
export JAVA_HOME
export PATH=$JAVA_HOME/bin:$PATH:.
#source /etc/profile
#java -version
#groovy -version
my info like this
[root@www]# java -version
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01,mixed mode)
[root@www]# groovy -version
Groovy Version: 1.6.1 JVM: 1.6.0_12
Ok
总结以上是内存溢出为你收集整理的Groovy in Linux(redhat/CentOs/Debian)全部内容,希望文章能够帮你解决Groovy in Linux(redhat/CentOs/Debian)所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)