create java viewer plugin