에러 원인

JDK 설정 오류(일반적으로는 자동으로 설정이 되지만, 안될 경우는 수동으로 해야 함)

 

해결 방안

1. 오류가 발생한 스튜디오 아래쪽에 보면 Change JDK Location 이라는 빨간 글자가 있을텐데, 해당 글자를 클릭하거나
또는 상단 메뉴에서 File > Project Structure 를 선택하면 설정창으로 진입할 수가 있다.

2. 그럼에도 안된다면 해당 에러 회고의 내용을 참고하여 설정해보기

https://turnaroundwoo.tistory.com/entry/intelliJ-Cause-invalid-source-release-11-%EC%97%90%EB%9F%AC

 

[ intelliJ ] Cause: invalid source release: 11 에러

에러 원인 intelliJ에서 설정된 java의 버전과 프로젝트의 java 버전이 맞지 않을 경우 발생 해결 방안 1) File > Project Structure -> Project에서 SDK의 버전을 맞춰준다. 2) File > Settings > Build, Execution, Deployment

turnaroundwoo.tistory.com

3. JDK 목록이 나타나지 않는다면 아래 링크에서 다운로드 받아서 설치후 다시 시도해보기
https://www.oracle.com/java/technologies/javase-downloads.html

 

Download the Latest Java LTS Free

Subscribe to Java SE and get the most comprehensive Java support available, with 24/7 global access to the experts.

www.oracle.com