일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- Java
- 스프링
- C언어
- 페이코 친구코드
- C
- 최단 경로
- 자바 스프링
- php 프로그래밍 입문 문제풀이
- php 프로그래밍 입문 3판
- 자바
- JAVA SPRING
- 플러터 개발환경 설정
- programmers
- 백준
- SWEA
- php 프로그래밍 입문
- 페이코 추천인코드
- 페이코 추천인
- php 프로그래밍 입문 연습문제
- php
- 한정 분기
- 파이썬
- Flutter
- 플러터
- spring
- php 프로그래밍 입문 예제
- 페이코 초대코드
- 배열
- php 프로그래밍 입문 솔루션
- php 프로그래밍
Archives
- Today
- Total
04-07 07:30
ImJay
[Java 오류해결] java.lang.UnsupportedClassVersionError: * has been compiled by a more recent version of the Java Runtime (class file version 62.0), this version of the Java Runtime only recognizes class file versions up to 61.0 본문
대학생활/객체지향개발론및실습
[Java 오류해결] java.lang.UnsupportedClassVersionError: * has been compiled by a more recent version of the Java Runtime (class file version 62.0), this version of the Java Runtime only recognizes class file versions up to 61.0
ImJay 2022. 11. 1. 11:16반응형
오류내용
오류: 기본 클래스 DrawShapeApp을(를) 로드하는 중 LinkageError가 발생했습니다.
java.lang.UnsupportedClassVersionError: DrawShapeApp has been compiled by a more recent version of the Java Runtime (class file version 62.0), this version of the Java Runtime only recognizes class file versions up to 61.0
오류원인
Java에서 외부 프로젝트를 Import 할 때, Library version이 맞지 않을 경우 발생하는 오류인 것 같습니다.
오류해결

1. Project 폴더에서 Properties 클릭

2. Java Build Path 선택

3. Modulepath > 기존 JRE System Library 선택 후 Remove 버튼 클릭

4. Add Library 버튼 클릭 > JRE System Library 선택 > Next

5. Execution environment > 리스트 박스에서 본인 환경에 맞는 jre 선택 > Finish > Apply and close

6. 오류가 해결되었다면 JRE System Library 가 추가되고 X표시와 각종 빨간줄이 사라지게 됩니다 😀
이젠 새로운 오류가 뜬다면..?

https://develop247.tistory.com/148
[Java 오류해결] java.lang.NoClassDefFoundError: javafx/application/Application
평소 과제를 수행할 때 프로젝트를 Import 하고나면 Library 호환 문제로 컴파일이 안되곤 했었는데, 기존 JRE Library 를 삭제하고 새로운 라이브러리를 추가하는 걸로 문제를 해결했었다. 오늘도 평
develop247.tistory.com
반응형
'대학생활 > 객체지향개발론및실습' 카테고리의 다른 글
[Java 오류해결] java.lang.NoClassDefFoundError: javafx/application/Application (0) | 2022.10.31 |
---|---|
[객체지향] 캡슐화(encapsulation)와 접근 제어 (0) | 2022.10.12 |
[객체지향] 메소드와 인스턴스란 무엇일까? (0) | 2022.10.12 |
[객체지향] 객체와 클래스의 차이 (0) | 2022.10.12 |
Comments