VSCODE 에 설치시 필요한 프로그램

1. Java 
2. Kotlin compiler
3. VSCode의 Code Runner 확장 프로그램
4. VSCode의 Kotlin Language 확장 프로그램

Java 설치

  • 자바설치 https://www.oracle.com/java/technologies/downloads/

  • Java 버전 관련 참고 내용 : https://kotlinlang.org/docs/faq.html#which-versions-of-jvm-does-kotlin-target

Kotlin Compiler 설치

  • github https://github.com/JetBrains/kotlin/releases

  • 윈도우 PC의 PATH 환경에 Kotlin을 추가

VSCode의 Code Runner 확장 프로그램 설치

  • [Visual Studio Code] Extensions : Code Runner

  • https://marketplace.visualstudio.com/items?itemName=formulahendry.code-runner

VSCode의 Kotlin Language 확장 프로그램 설치

  • [Visual Studio Code] Extensions : Kotlin Language

  • https://marketplace.visualstudio.com/items?itemName=mathiasfrohlich.Kotlin

Kotlin 예제 실행 및 결과

    fun main() {
    println("Hello Kotlin!")
    }

온라인 코틀린 환경 

  • Kotlin Playground: https://play.kotlinlang.org/