른록노트

[Java] Class File Java Majar Version 본문

Programming/[Java]

[Java] Class File Java Majar Version

른록 2021. 6. 3. 07:15

0. 참고사이트

https://stackoverflow.com/questions/22489398/unsupported-major-minor-version-52-0
https://docs.oracle.com/javase/specs/jvms/se16/html/jvms-4.html

1. the major versions of classfiles

Java SE Released Major Supported majors
1.0.2 May 1996 45 45
1.1 February 1997 45 45
1.2 December 1998 46 45 .. 46
1.3 May 2000 47 45 .. 47
1.4 February 2002 48 45 .. 48
5.0 September 2004 49 45 .. 49
6 December 2006 50 45 .. 50
7 July 2011 51 45 .. 51
8 March 2014 52 45 .. 52
9 September 2017 53 45 .. 53

10

March 2018 54 45 .. 54

11

September 2018 55 45 .. 55

12

March 2019 56 45 .. 56

13

September 2019 57 45 .. 57

14

March 2020 58 45 .. 58

15

September 2020 59 45 .. 59

16

March 2021 60 45 .. 60

* Java file을 실행할 때 Runtime에 사용하는 Java 버전이 컴파일된 파일의 버전보다 낮다면 실행되지 않습니다.

반응형
Comments