create java viewer extension