๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
๊ฐœ๋ฐœ ์ด์•ผ๊ธฐ/SW ๊ฐœ๋ฐœ ๊ฐœ์š”

๊ฐœ๋ฐœ ํ™˜๊ฒฝ ๊ตฌ์ถ•

by 0_0๐Ÿ–ค 2023. 6. 27.
๋ฐ˜์‘ํ˜•

 

1. ๊ฐœ๋ฐœ ํ™˜๊ฒฝ ๊ตฌ์ถ• ๊ฐœ์š”

- ๊ฐœ๋ฐœ ํ™˜๊ฒฝ (JDK)๊ณผ ์‹คํ–‰ํ™˜๊ฒฝ (JRE) ์„ค์น˜ ๋œ ์ƒํƒœ์—์„œ ํŽธ์ง‘ ๋„๊ตฌ๋ฅผ ์ด์šฉํ•ด ์›น ์„œ๋ฒ„๋กœ ์—ฐ๊ฒฐํ•˜์—ฌ ์ž‘์—…ํ•œ๋‹ค.

 

 

๊ฐœ๋ฐœํ™˜๊ฒฝ ์‹คํ–‰ํ™˜๊ฒฝ
JDK
( Java SE Development Kit)
JRE
( Server java Runtime Environment)

  ←→  
ํŽธ์ง‘๋„๊ตฌ
eclipse

  ←→  
์›น์„œ๋ฒ„ (WAS)
apache-tomcat

 

 

 

1) JDK ( Java Development Kit )

์ž๋ฐ” ๊ฐœ๋ฐœ ํ‚คํŠธ๋กœ ์ž๋ฐ” ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๊ตฌ์ถ•ํ•˜๊ธฐ ์œ„ํ•œ ํ•ต์‹ฌ ํ”Œ๋žซํผ ๊ตฌ์„ฑ ์š”์†Œ์ด๋‹ค.

 

2) JRE ( Java Runtime Enviroment )

์ž๋ฐ” ๋Ÿฐํƒ€์ž„ ํ™˜๊ฒฝ์€ ๋‹ค๋ฅธ ์†Œํ”„ํŠธ์›จ์–ด๋ฅผ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•ด ๊ณ ์•ˆ๋˜๋Š” ์ผ์ข…์˜ ์†Œํ”„ํŠธ์›จ์–ด ์ด๋‹ค. ์ž๋ฐ”์šฉ ๋Ÿฐํƒ€์ž„ ํ™˜๊ฒฝ์ธ JRE์—๋Š” ์ž๋ฐ” ํด๋ž˜์Šค ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ(Java class libraries)์™€ ์ž๋ฐ” ํด๋ž˜์Šค ๋กœ๋”(Java class loader), ์ž๋ฐ” ๊ฐ€์ƒ ๋จธ์‹ (Java Virtual Machine)์ด ํฌํ•จ๋œ๋‹ค.

 

 

์ž๋ฐ” ๊ฐœ๋ฐœ ํ‚คํŠธ ( Java Development Kit, JDK )์ž๋ฐ” ๊ฐ€์ƒ ๋จธ์‹  (Java Virtual Machine, JVM) , ์ž๋ฐ” ๋Ÿฐํƒ€์ž„ ํ™˜๊ฒฝ (Java Runtime Enviroment, JRE) ์€ ์ž๋ฐ” ํ”„๋กœ๊ทธ๋ž˜๋ฐ์— ์‚ฌ์šฉ๋˜๋Š” 3๋Œ€ ํ•ต์‹ฌ ๊ธฐ์ˆ  ํŒจํ‚ค์ง€์ด๋ฉฐ ์ด 3๊ฐ€์ง€ ๊ธฐ์ˆ ์ด ์–ด๋–ป๊ฒŒ ์—ฐ๊ฒฐ๋˜์–ด ์žˆ๊ณ  ์–ด๋–ป๊ฒŒ ๋‹ค๋ฅธ์ง€ ๊ตฌ๋ณ„ํ•˜๋Š” ๊ฒƒ์ด ์ค‘์š”ํ•˜๋‹ค.

 

 

๋”๋ณด๊ธฐ

- JVM์€ ํ”„๋กœ๊ทธ๋žจ์„ ์‹คํ–‰ํ•˜๋Š” ์ž๋ฐ” ํ”Œ๋žซํผ ๊ตฌ์„ฑ ์š”์†Œ๋‹ค.

- JRE๋Š” JVM์„ ์ƒ์„ฑํ•˜๋Š” ๋””์Šคํฌ ์ƒ์˜ ๋ถ€๋ถ„์ด๋‹ค.

- JDK๋Š” ๊ฐœ๋ฐœ์ž๋“ค์ด JVM๊ณผ JRE์— ์˜ํ•ด ์‹คํ–‰๋˜๊ณ  ๊ตฌ๋™๋  ์ˆ˜ ์žˆ๋Š” ์ž๋ฐ” ํ”„๋กœ๊ทธ๋žจ์„ ์ƒ์„ฑํ•ด์ค€๋‹ค.

 

 

JRE๊ฐ€ ์ž๋ฐ” ์ฝ”๋“œ๋ฅผ ์‹คํ–‰ํ•˜๊ธฐ ์œ„ํ•œ ๋„๊ตฌ๋“ค๋กœ ๊ตฌ์„ฑ๋œ ํŒจํ‚ค์ง€๋ผ๋ฉด JDK๋Š” ์ž๋ฐ” ๊ธฐ๋ฐ˜ ์†Œํ”„ํŠธ์›จ์–ด๋ฅผ ๊ฐœ๋ฐœํ•˜๊ธฐ ์œ„ํ•œ ๋„๊ตฌ๋“ค๋กœ ์ด๋ฃจ์–ด์ ธ ์žˆ๋‹ค. JRE๋Š” ๋‹จ์ง€ ์ž๋ฐ” ํ”„๋กœ๊ทธ๋žจ์„ ๊ตฌ๋™ํ•˜๊ธฐ ์œ„ํ•œ ๋…๋ฆฝํ˜• ๊ตฌ์„ฑ์š”์†Œ๋กœ ์‚ฌ์šฉ๋  ์ˆ˜๋„ ์žˆ์ง€๋งŒ, ๋™์‹œ์— JDK์˜ ์ผ๋ถ€์ด๊ธฐ ๋•Œ๋ฌธ์— JDK๋Š” JRE๋ฅผ ํ•„์š”๋กœ ํ•œ๋‹ค. 

 

3) Eclipse (์ดํด๋ฆฝ์Šค)

์ž๋ฐ”๋ฅผ ๋น„๋กฏํ•œ ๋‹ค์–‘ํ•œ ์–ธ์–ด๋ฅผ ์ง€์›ํ•˜๋Š” ํ”„๋กœ๊ทธ๋ž˜๋ฐ ํ†ตํ•ฉ ๊ฐœ๋ฐœ ํ™˜๊ฒฝ(IDE)์ด์ž ํ”„๋กœ๊ทธ๋ž˜๋ฐ ๋„๊ตฌ์ด๋‹ค. ํ˜„์žฌ OSGi๋ฅผ ๋„์ž…ํ•˜์—ฌ ๋ฒ”์šฉ ์‘์šฉ ์†Œํ”„ํŠธ์›จ์–ด ํ”Œ๋žซํผ์œผ๋กœ ์ง„ํ™”ํ•˜์˜€๋‹ค. ์ž๋ฐ”๋กœ ์ž‘์„ฑ๋˜์–ด ์žˆ์œผ๋ฉฐ, ์ž์œ  ์†Œํ”„ํŠธ์›จ์–ด์ด์ง€๋งŒ ๋ง‰๊ฐ•ํ•œ ๊ธฐ๋Šฅ์„ ์ž๋ž‘ํ•œ๋‹ค.

 

- ํ†ตํ•ฉ ๊ฐœ๋ฐœ ํ™˜๊ฒฝ ( Integrated development environment, IDE) ์€ ๋””๋ฒ„๊ทธ, ์ปดํŒŒ์ผ, ๋ฐฐํฌ ๋“ฑ ํ”„๋กœ๊ทธ๋žจ ๊ฐœ๋ฐœ์— ๊ด€๋ จ๋œ ๋ชจ๋“  ์ง์—…์„ ํ•˜๋‚˜์˜ ํ”„๋กœ๊ทธ๋žจ์—์„œ ์ฒ˜๋ฆฌํ•˜๋Š” ํ™˜๊ฒฝ์„ ์ œ๊ณตํ•˜๋Š” ์†Œํ”„ํŠธ์›จ์–ด๋กœ ์ข…๋ž˜์˜ ์†Œํ”„ํŠธ์›จ์–ด ๊ฐœ๋ฐœ์—์„œ๋Š” ์ปดํŒŒ์ผ๋Ÿฌ, ํ…์ŠคํŠธ ํŽธ์ง‘๊ธฐ, ๋””๋ฒ„๊ฑฐ ๋“ฑ์„ ๋”ฐ๋กœ ์‚ฌ์šฉํ–ˆ๋‹ค.

๊ฐ€์žฅ ๋Œ€์ค‘์ ์ธ IDE๋กœ๋Š” ์ดํด๋ฆฝ์Šค(์›น, java SE, java EE, C++/C)์™€ ๋น„์ฅฌ์–ผ ์ŠคํŠœ๋””์˜ค(C++, C#, VB, NET, F#, Python) Intellij(C/C++, C#, Java ๋“ฑ๋“ฑ ๋Œ€๋ถ€๋ถ„) ๊ฐ€ ์žˆ๋‹ค

 

 

4) Apache-tomcat

์•„ํŒŒ์น˜ ์†Œํ”„ํŠธ์›จ์–ด ์žฌ๋‹จ์—์„œ ๊ฐœ๋ฐœํ•œ ์„œ๋ธ”๋ฆฟ ์ปจํ…Œ์ด๋„ˆ (๋˜๋Š” ์›น ์ปจํ…Œ์ด๋„ˆ)๋งŒ ์žˆ๋Š” ์›น ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ ์„œ๋ฒ„์ด๋‹ค. ์›น ์„œ๋ฒ„์™€ ์—ฐ๋™ํ•˜์—ฌ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ์ž๋ฐ” ํ™˜๊ฒฝ์„ ์ œ๊ณตํ•˜์—ฌ ์ž๋ฐ”์„œ๋ฒ„ ํŽ˜์ด์ง€ (jsp)์™€ ์ž๋ฐ” ์„œ๋ธ”๋ฆฟ์ด ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ๋Š” ํ™˜๊ฒฝ์„ ์ œ๊ณตํ•œ๋‹ค.

 

 

2. ํ”„๋กœ๊ทธ๋žจ ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ ๋ฐ ์„ค์น˜

- ๋ฌด์กฐ๊ฑด ์ตœ์‹  ๋ฒ„์ „์„ ์„ค์น˜ ํ•  ๊ฒฝ์šฐ ์ตœ์ ํ™” ๋˜์ง€ ์•Š์€ ๋ฒ„์ „์ผ ์ˆ˜ ์žˆ์œผ๋ฏ€๋กœ ํ•œ ๋‹จ๊ณ„ ์•„๋žซ ๋ฒ„์ „ ์„ค์น˜๋ฅผ ๊ถŒ์žฅํ•œ๋‹ค.

- ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋Š” ์ปดํ“จํ„ฐ OS ํ™˜๊ฒฝ์— ๋”ฐ๋ผ ํŒŒ์ผ์„ ๋‹ค์šด๋กœ๋“œ ํ•˜๊ณ  ์„ค์น˜๋ฅผ ์ง„ํ–‰ํ•œ๋‹ค.

 

1) ๊ฐœ๋ฐœ ํ™˜๊ฒฝ ๋ฐ ์‹คํ–‰ํ™˜๊ฒฝ JDK, JRE๋ฅผ ์„ค์น˜ํ•œ๋‹ค.

https://www.oracle.com/kr/java/technologies/downloads/#jdk20-windows

 

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

 

2) ์›น ์„œ๋ฒ„ (WAS) Apache Tomcat์„ ์„ค์น˜ํ•œ๋‹ค.

https://tomcat.apache.org/download-10.cgi

 

Apache Tomcat® - Apache Tomcat 10 Software Downloads

Welcome to the Apache Tomcat® 10.x software download page. This page provides download links for obtaining the latest version of Tomcat 10.1.x software, as well as links to the archives of older releases. Unsure which version you need? Specification versi

tomcat.apache.org

 

3) ํŽธ์ง‘๋„๊ตฌ Eclipse๋ฅผ ์„ค์น˜ํ•œ๋‹ค.

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

 

Eclipse Packages | The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 350 open source pro

523 MB 63,490 DOWNLOADS Tools for developers working with Java and Web applications, including a Java IDE, tools for JavaScript, TypeScript, JavaServer Pages and Faces, Yaml, Markdown, Web Services, JPA and Data Tools, Maven and Gradle, Git, and more. Clic

www.eclipse.org

 

๋ฐ˜์‘ํ˜•