Guice is a Java library. To use it you have to add a JAR file into the classpath of your Java project.
Sample classes
Below are several classes for a "Hello, world!" example.
An interface of a hello "service":
public interface HelloWorldService {
public void sayHello();
...