addition of java-agent, fixes #28