安装zeroc
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#
验证是否安装成功
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插件
搜索zeroc ice
点击安装install
安装成功后,进行下面sdk配置,
点击elipse左边的elipse-》配置sdk环境,偏好设置
将sdk路径放进去, /usr/local/Cellar/ice/3.6.3_1
创建第一个ice java项目
右键
来源:oschina
链接:https://my.oschina.net/u/2318885/blog/785338