Programming/Java
-
[Java] Java, JVM 개념 정리Programming/Java 2023. 4. 27. 12:38
Java Java란? Sun Microsystems에서 개발하여 1996년 1월에 공식적으로 발표한 객체지향 프로그래밍 언어입니다. 자바는 운영체제에 독립적이라는 특징이 있어 운영체제의 종류에 관계없이 실행이 가능합니다. 이는 JDK(Java Development Kit)라는 개발 도구가 있기에 가능합니다. 특징 1. 운영체제에 독립적 자바가 운영체제에 독립적으로 사용할 수 있는 이유는 일종의 애뮬레이터인 JVM(Java Virtual Machine)을 통해서 가능합니다. 자바 응용 프로그램은 운영체제나 하드웨어가 아닌 JVM하고만 통신하고 JVM이 자바 응용프로그램으로부터 전달받은 명령을 해당 운영체제가 이해할 수 있도록 변환하여 전달합니다. 자바로 작성된 프로그램은 운영체제에 독립적이지만 JVM은 운..
-
[Spring Boot] Visual Studio Code - Spring boot 세팅Programming/Java 2023. 3. 3. 00:20
Spring boot를 사용하고 싶어서 처음엔 eclipse IDE를 사용하려고 했는데 무료 버전이라 무겁기도 하고 불편한감이 있어서 평소에 잘 사용하고 있는 VSCode에서 세팅하려고 합니다. VSCode는 무료 IDE에다가 다양한 언어, 프레임워크 등을 지원하는 확장성 높은 IDE입니다. 준비 1. VSCode 2. JDK 17 이상 3. JAVA 환경 변수 설정 3가지는 Spring Boot를 설치하기 앞서 세팅되어 있어야하는 항목입니다. VSCode는 JDK의 최신 버전을 요구하기 때문에 17이상을 설치해야합니다. (VSCode가 최신 버전이라면) 그렇지 않으면 에러를 내며 최신 버전을 설치하라고 합니다. vscode setting 확장 모듈 설치 Java Extension vscode exten..
-
[Java] Visual Studio code Java 설치Programming/Java 2022. 9. 23. 09:46
1. JDK 설치 https://www.oracle.com/java/technologies/downloads/#java11-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 (JDK 11을 다운 받았는데 VSCode에서는 최신 버전으로 설정하라는 오류 메시지가 떠서 Java 19로 다시 다운로드 하였다.) - Java JDK19 ver - Java JDK11 ver oracle 로그인 하면 바로 jdk가 다운로드됩니다. 다운로드 받은 설치 파일을 실..