Added java version and architecture detection

Fixes #29
Nope but it's there if need be