安裝zerocphp
sh-3.2# brew install ice --with-Java ==> Installing dependencies for ice: mcpp ==> Installing ice dependency: mcpp ==> Downloading https://homebrew.bintray.com/bottles/mcpp-2.7.2.sierra.bottle.1. ######################################################################## 100.0% ==> Pouring mcpp-2.7.2.sierra.bottle.1.tar.gz 🍺 /usr/local/Cellar/mcpp/2.7.2: 19 files, 1M ==> Installing ice ==> Downloading https://homebrew.bintray.com/bottles/ice-3.6.3_1.sierra.bottle.t ######################################################################## 100.0% ==> Pouring ice-3.6.3_1.sierra.bottle.tar.gz 🍺 /usr/local/Cellar/ice/3.6.3_1: 5,830 files, 126.7M sh-3.2#
驗證是否安裝成功html
sh-3.2#ls /usr/local/Cellar/ice/3.6.3_1/bin/ dumpdb icegridnode icestormdb slice2html glacier2router icegridregistry icestormmigrate slice2java icebox icepatch2calc slice2cpp slice2objc iceboxadmin icepatch2client slice2cs slice2php icegridadmin icepatch2server slice2freeze slice2py icegriddb icestormadmin slice2freezej transformdb sh-3.2# /usr/local/Cellar/ice/3.6.3_1/bin/slice2java -v 3.6.3 sh-3.2#
elise 安裝zeroc插件java
搜索zeroc icenode
點擊安裝installbash
安裝成功後,進行下面sdk配置,插件
點擊elipse左邊的elipse-》配置sdk環境,偏好設置code
將sdk路徑放進去, /usr/local/Cellar/ice/3.6.3_1orm
建立第一個ice java項目router
右鍵server