Download Ice 3.7 for Java
Maven Repository
The Ice for Java JAR files are available from Maven Central.
Detailed instructions for installing Ice for Java are available here
Slice to Java Compiler
The slice2java
compiler is required for development and is available as part of the Linux, macOS, and Windows distributions.
Amazon Linux 2 (LTS)
Configure Yum repository
$ sudo yum install https://download.zeroc.com/ice/3.7/amzn2/ice-repo-3.7.amzn2.noarch.rpm
Install the Slice compilers
$ sudo dnf install ice-compilers
Debian 10 "Buster"
Configure APT repository
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
"deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/debian10 stable main" \
| sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update
Install the Slice compilers
$ sudo apt-get install zeroc-ice-compilers
Debian 9 "Stretch"
Configure APT repository
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
"deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/debian9 stable main" \
| sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update
Install the Slice compilers
$ sudo apt-get install zeroc-ice-compilers
Red Hat Enterprise Linux 9
Configure Yum repository
$ sudo yum install https://download.zeroc.com/ice/3.7/el9/ice-repo-3.7.el9.noarch.rpm
Install the Slice compilers
$ sudo dnf install ice-compilers
Red Hat Enterprise Linux 8
Configure Yum repository
$ sudo dnf install https://download.zeroc.com/ice/3.7/el8/ice-repo-3.7.el8.noarch.rpm
Install the Slice compilers
$ sudo dnf install ice-compilers
Red Hat Enterprise Linux 7
Configure Yum repository
$ sudo yum install https://download.zeroc.com/ice/3.7/el7/ice-repo-3.7.el7.noarch.rpm
Install the Slice compilers
$ sudo yum install ice-compilers
SUSE Linux Enterprise Server 12
Configure Zypper repository
$ wget https://download.zeroc.com/ice/3.7/sles12/zeroc-ice3.7.repo
$ sudo zypper addrepo zeroc-ice3.7.repo
$ sudo rpm --import https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D
Install the Slice compilers
$ sudo zypper install ice-compilers
Ubuntu 22.04 (Jammy Jellyfish)
Configure APT repository
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
"deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu22.04 stable main" \
| sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update
Install the Slice compilers
$ sudo apt-get install zeroc-ice-compilers
Ubuntu 20.04 (Focal Fossa)
Configure APT repository
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
"deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu20.04 stable main" \
| sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update
Install the Slice compilers
$ sudo apt-get install zeroc-ice-compilers
Ubuntu 18.04 (Bionic Beaver)
Configure APT repository
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
"deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu18.04 stable main" \
| sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update
Install the Slice compilers
$ sudo apt-get install zeroc-ice-compilers
Ubuntu 16.04 (Xenial Xerus)
Configure APT repository
$ sudo mkdir -p /etc/apt/keyrings
$ sudo curl -fsSL https://download.zeroc.com/GPG-KEY-zeroc-release-B6391CB2CFBA643D | sudo gpg --dearmor -o /etc/apt/keyrings/zeroc.gpg
$ echo \
"deb [signed-by=/etc/apt/keyrings/zeroc.gpg] https://download.zeroc.com/ice/3.7/ubuntu16.04 stable main" \
| sudo tee /etc/apt/sources.list.d/zeroc-ice-3.7.list
$ sudo apt-get update
Install the Slice compilers
$ sudo apt-get install zeroc-ice-compilers
Yocto Meta Layer
Meta layer includes BitBake recipe for C++ and Python, IceBox, IceGrid, IcePatch2, IceStorm and Glacier2 services
$ git clone -b rocko git://github.com/zeroc-ice/meta-zeroc.git
Add meta layer to bblayers.conf
$ BBLAYERS ?= " \
...
/path/to/meta-zeroc \
"
Detailed instructions for installing Ice for Yocto are available here
Homebrew
The ice formula includes the Slice to Java compiler.
$ brew install ice
Windows Installer
The Windows installer provides the Ice Slice compilers, Ice for PHP, all Ice services, and the IceGrid GUI.
It does not include SDKs for C++, C#, or Java.
Download for WindowsNext Steps
Once you've successfully installed Ice for Java, head over to our ice-demos repository on GitHub:
$ git clone -b 3.7 https://github.com/zeroc-ice/ice-demos