add version attribute for java-agent for easy upgade

made a version attribute for ease upgrade in the future
and also set it to use the latest known version