krutosb.blogg.se

Command to check java version in linux
Command to check java version in linux












command to check java version in linux command to check java version in linux command to check java version in linux

OpenJDK Runtime Environment 18.9 (build 11.0.1+13) Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_131-b11) $ cd /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/bin/ Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode) Java(TM) SE Runtime Environment (build 9+181) So it will be slightly different in older java versions. Note that this naming convention has come up in Java 10 itself. In the second line, what you see after + is called build number. Note that version is of the form $FEATURE.$INTERIM.$UPDATE.$PATCH, so from the above output, we can deduce that Feature is 10, Interim is 0, Update is 1 and Patch is 0. Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode) Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)














Command to check java version in linux