When I run jenv versions
it shows the following options
11.0 11.0.21 17.0 17.0.9 21.0 21.0.1 zulu64-11.0.21 zulu64-17.0.9 zulu64-21.0.1What is the difference between
11.0.21
and zulu64-11.0.21
, which one should I choose?
The latter has the prefix zulu64-
while the former does not have any prefix.
This seems to be how Jenv works. It shows the exact version (example 17.0.9) or the major version if you only want to select the major version (example 17.0). Additionally, it will add vendor-prefixed versions to the list (e.g. zulu64-17.0.9). Therefore, a single JDK installation will increase the list by 3 times.
This is all about giving users the flexibility to choose versions in different ways, considering that they may have multiple parallel installations from different vendors/versions.
Reference: https://www.php.cn/link/f17a7558451bf1e93b8a8f5549e4938f a>
You may want to check this answer. But the simple answer is that you have a different JDK distribution installed.
The above is the detailed content of Jenv - same java version but with prefix. For more information, please follow other related articles on the PHP Chinese website!