Added java based injection.