how to find where youve installed java on windows code example Example: check java version java --version