Detect java bitness on launch, use appropriate libraries

Fixes problems with latest snapshot
Add java checker to the instance settings