爲了方便,將groovy插件集成到eclipse中使用,安裝步驟以下: step 1:檢查本身的eclipse版本:在help->About Eclipse中查看:git
tep 2:進入 https://github.com/groovy/groovy-eclipse/wiki查找和本身eclipse對應版本的groovy:(個人是4.4)github
step 3:拷貝下載地址http://dist.springsource.org/release/GRECLIPSE/e4.4/spring
step 4:打開eclipse,在eclipse中,選擇help -> Install New Software…:eclipse
step 5:選擇add,對話框中name隨便寫,地址將上面拷貝的地址粘貼進去:學習
step 6:等待一小會,會出現以下選項,全選後下一步:插件
step 7:安裝完畢後從新啓動eclipse,而後新建項目,選擇Other,新建Groovy Project:圖片
step 8:在項目下新建一個Groovy Class:ip
step 9:完成後將會看到和Java相似的代碼,運行便可:get
工欲善其事,必先利其器,器已有,那接下來就是對groovy的系統學習了。it