An attempt get Adhesion working in Java