Java64 usage with upgrade/downgrade detection