🍺JAVA

[java/자바]JAVA 설치하기--1.JDK설치하기, 시스템변수설정 및 확인

김말자 2022. 11. 14. 10:59
728x90
728x90
BIG

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

 

Java Archive Downloads - Java SE 11 | Oracle 대한민국

WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. They are not updated with the latest security patches and are not recommended for use in production. For production use Oracle recommends downlo

www.oracle.com

여기 들어가서 jdk를 다운받으면 된다. 8버전이 초기버전이고 11버전이 제일 안정적인 버전이라 11버전을 선택했다.

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

 

Eclipse Downloads | The Eclipse Foundation

The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 415 open source projects, including runtimes, tools and frameworks.

www.eclipse.org

이클립스는 여러버전이 있는데 웹디벨로퍼 버전을 다운받았다.(저는 백엔드기때문에..)

Eclipse IDE for Enterprise Java and Web Developers

 

Eclipse IDE for Enterprise Java and Web Developers | Eclipse Packages

Package Description 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. Click he

www.eclipse.org

윈도우면 윈도우버전 맥이면 맥버전을 다운받으면 된다.

그러면 압축푼 곳을 들어가서 압축을 풀고

jdk를 다운받은것을 클릭하고 관리자권한으로 실행한다

이런화면이 뜨면 next를 눌러준다.

인스톨할곳을 지정해준다 change에서 지정할 수 있음

넥스트를 눌러준다.

클로즈 눌러주면 된다.

그다음 환경변수 설정하기.

내pc에서 속성을 들어가면 시스템에 고급시스템 설정에 환경변수 가 있는데 눌러준다.

그래서 jdk가 있는곳을 찾아보기에 들어가서 정렬해준다 bin까지 정렬한다.

그 뒤 새로만들기 눌러서 새 시스템 변수를 눌르면 변수들을 지정해준다 

classpath는 필수!!

그뒤 cmd를 찾으면 명령프롬포트를 찾을 수 있는데

거기다가 --vesion을 누르면 잘깔려있는지 확인할 수 있다.

java를 치면 자바 명령어들이 쭉나온다

이클립스는 자바를 켤때 도와주는 에디터같은 역할임

깔면

런치누르면 켜짐

728x90
반응형
BIG