Added java version and architecture detection

Fixes #29
Don't really need this either, so `os` call seemed fine.