javap -verbose MyClass
I w wyniku szukamy:
minor version: 0 major version: 50
A wynik odczytujemy:
major minor Java platform version 45 3 1.0 45 3 1.1 46 0 1.2 47 0 1.3 48 0 1.4 49 0 1.5 50 0 1.6 51 0 1.7 52 0 1.8
źródło
javap -verbose MyClass
minor version: 0 major version: 50
major minor Java platform version 45 3 1.0 45 3 1.1 46 0 1.2 47 0 1.3 48 0 1.4 49 0 1.5 50 0 1.6 51 0 1.7 52 0 1.8
1 echo -e "d\nD\nc\nb\nB\na" | sort
2 echo -e "d\nD\nc\nb\nB\na" | sort --ignore-case
3 echo -e "d\nD\nc\nb\nB\na" | LC_COLLATE=C sort
4 echo -e "d\nD\nc\nb\nB\na" | LC_COLLATE=C sort --ignore-case
1 2 3 4
- - - -
a a B a
b b D B
B B a b
c c b c
d d c D
D D d d