visual studio code 에서도 JAVA 코드를 만들 수 있다
준비물 : vs code, jdk
1. visual studio code를 설치한다
설치 방법은 블로그에 따로 포스팅 했으니 참고하시길!
Visual Studio 설치 방법 - Window 환경
https://code.visualstudio.com/ Visual Studio Code - Code Editing. RedefinedVisual Studio Code redefines AI-powered coding with GitHub Copilot for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your fa
hollypp.tistory.com
2. jdk를 설치한다.
https://www.oracle.com/kr/java/technologies/downloads/#jdk24-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
해당 사이트에서 맞는 운영체제를 고르고
installer를 다운받아준다.
설치 마법사를 실행시킨 후
설정할게 없다면 무한 next를 눌러 설치해준다
3. visual studio code를 실행시켜
extension를 다운받는다
ctrl+shift+x로 이동가능하며, 사진에 있는 블럭 모양을 눌러도 된다
Extension Pack for Java development
을 검색해 설치한다
4. f1을 눌러 Java: Creat Java Project를 검색한 후 enter를 누른다
우선 no build tools를 골라준다
작업 폴더를 만든다
프로젝트 이름을 적는다.
빌드 완료
src/App.java 샘플도 들어있다.
f5를 누르면 터미널에서 실행된다
끝!