본문 바로가기

JAVA/설치 및 설정

JAVA 설치 시 고려해야 할 것들?

728x90
JAVA 버전(JDK), Eclipse 버전에 관한 글

개발을 하면서 느낀 점은, 코딩보다는 환경설정하는 것이 너무 어렵다...!

스타트업 기업이라 옆에서 알려주시는 분이 없어 더욱 어려웠다ㅠㅠ..

그래서 구글링을 해보았다.

원래 JAVA의 버전이 여러개 있는 것은 알고 있었고, 이클립스 버전도 여러가지가 있는 것은 알고 있었지만

이클립스가 지원하는 JAVA 버전도 여러개라는것은 이번에 처음 알았다. 이렇게 배워가는거지뭐

 

일단은 자바를 다운받아야 하는데,

이놈의 홈페이지는 최신 버전 말고 전에 버전들은 어디서 받는지 아주 꽁꽁 숨겨놓았다. 나만 못찾는건 아닐거야..!

 

JAVA Release

https://www.oracle.com/java/technologies/oracle-java-archive-downloads.html

 

문득 검색을 하다보니 그런 생각이 들었다.

JAVA8을 보면 어디서는 JAVA8이라하고, 어디서는 1.8이라고 한다.

왜 다를까? 둘이 다른건가 같은건가..?

 

아래는 참고 문서이다.

https://www.oracle.com/java/technologies/javase/version-6.html


At this release, the platform name has changed from J2SE to Java SE. The official name is Java Platform, Standard Edition 6.
Both version numbers ( 1.6.0 and 6) are used to identify this release of the Java Platform. Version 6 is the product version, while 1.6.0 is the developer version. The number 6 is used to reflect the evolving level of maturity, stability, scalability and security of Java SE.
Java SE keeps the version number 1.6.0 (or 1.6) in some places that are visible only to developers, or where the version number is parsed by programs. As mentioned, 1.6.0 refers to exactly the same platform and products numbered 6. Version numbers 1.6.0 and 1.6 are used at:


무슨소리냐구요?

대충 무슨 소리인지는 알겠는데 , 정확하게는 못하겠으니 파파고 도움을 빌렸다.


이 버전에서는 플랫폼 이름이 J2SE에서 Java SE로 변경되었고, 정식 이름은 Java Platform, Standard Edition 6입니다. 버전 번호(1.6.0 및 6)는 모두 Java 플랫폼의 이 릴리스를 식별하는 데 사용됩니다.
버전 6은 제품 버전이고 1.6.0은 개발자 버전입니다. 숫자 6은 Java SE의 성숙도, 안정성, 확장성 및 보안 수준을 나타내는 데 사용됩니다. Java SE는 버전 번호 1.6.0(또는 1.6)을 개발자에게만 보이거나 프로그램별로 버전 번호를 구문 분석하는 일부 위치에 유지합니다. 앞서 언급한 바와 같이 1.6.0은 정확히 동일한 플랫폼과 6번으로 번호가 매겨진 제품을 말합니다. 버전 번호 1.6.0 및 1.6은 다음 위치에서 사용됩니다.

  • java -version (among other info, returns java version "1.6.0")
  • java -fullversion (returns java full version "1.6.0-bxx")
  • javac -source 1.6 (is an alias for javac -source 6)
  • java.version system property
  • java.vm.version system property
  • @since 1.6 tag values
  • jdk1.6.0 installation directory
  • jre1.6.0 installation directory

쉽게 말하면 정식 명칭이 있지만 개발자들이 편하게(?) 사용하기 위해 번호로 부른다는것이였다

 

 

Eclipse Release

https://www.eclipse.org/downloads/packages/release

 

Eclipse Packaging Project (EPP) Releases | Eclipse Packages

 

www.eclipse.org

이클립스도 이전 버전 다운하기 어렵게 만들어놨어...

 

 

Eclipse 버전별 지원하는 JDK 확인

https://wiki.eclipse.org/Eclipse/Installation

 

Eclipse/Installation - Eclipsepedia

Installing Eclipse is relatively easy, but does involve a few steps and software from at least two different sources. Eclipse is a Java-based application and, as such, requires a Java Runtime Environment or Java Development Kit (JRE or JDK) in order to ru

wiki.eclipse.org

 

정리해서 얘기하자면,

이클립스 버전 요구되는 JDK 버전
Eclipse 4.3(Kepler) Java 6 JRE/JDK is recommended
Eclipse 4.4(Luna) Java 7 JRE/JDK is required 
Eclipse 4.5(Mars)
Eclipse 4.6(Neon) A Java 8 or newer JRE/JDK is required.
Eclipse 4.7(Oxygen)
Eclipse 4.8 (Photon)
Eclipse 4.9 (2018-09)
Eclipse 4.10 (2018-12)
Eclipse 4.11 (2019-03)
Eclipse 4.12 (2019-06)
Eclipse 4.13 (2019-09)
Eclipse 4.14 (2019-12)
Eclipse 4.15 (2020-03)
Eclipse 4.16 (2020-06) A Java 8 or newer JRE/JDK is required, 
LTS release are preferred
Eclipse 4.17 (2020-09)  A Java 11 or newer JRE/JDK is required, LTS release are preferred
Eclipse 4.18 (2020-12
Eclipse 4.19(2021-03)
Eclipse 4.20(2021-06)

잘 참고해서 설치하도록 하자...

 

JDK 호환성에 대해서도 공부할 필요가 있어 보이던데 나중에 필요할 때 해야겠다

지금은 할게 많으니..

728x90