public class Solution { public static final String UNIC_BINDING_NAME = "double.string"; public static Registry registry; //pretend we start rmi client as CLIENT_THREAD thread public static Thread CLIENT_THREAD = new Thread(new Runnable() { @Override public void run() { //write your code here } });