0% found this document useful (0 votes)
19 views

03 - Instalasi Java Development Kit

The document discusses how to install the OpenJDK Java Development Kit on Windows. It provides steps to download OpenJDK from its website, extract the files, set the JAVA_HOME environment variable, add the JDK's bin folder to the system PATH variable, and test the installation by running java -version and javac -version. It also lists some popular integrated development environments (IDEs) for Java programming.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

03 - Instalasi Java Development Kit

The document discusses how to install the OpenJDK Java Development Kit on Windows. It provides steps to download OpenJDK from its website, extract the files, set the JAVA_HOME environment variable, add the JDK's bin folder to the system PATH variable, and test the installation by running java -version and javac -version. It also lists some popular integrated development environments (IDEs) for Java programming.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

Instalasi Java Development Kit

Addin Gama Bertaqwa, ST., MT.

Pemrograman Berorientasi Objek - Sistem Informasi Kampus Peradaban Bangsa 1


OpenJDK
• OpenJDK adalah salah satu implementasi Java Development Kit yang opensource
dan gratis.

• https://openjdk.java.net

Pemrograman Berorientasi Objek - Sistem Informasi 2


OpenJDK vs yang lain
• Oracle JDK : https://www.oracle.com/java/technologies/javase-downloads.html

• Amazon Corretto : https://aws.amazon.com/id/corretto

• Zulu : https://www.azul.com/downloads/zulu-community

Pemrograman Berorientasi Objek - Sistem Informasi 3


Download OpenJDK
• Https://jdk.java.net

• Pilih JDK 18

• Download build untuk


OS Windows, atau
sesuaikan dengan OS
yang Anda gunakan.

• Extract file zip


tersebut

Pemrograman Berorientasi Objek - Sistem Informasi 4


Setting
PATH
• Pastikan Anda
mengetahui lokasi JDK
yang telah di ekstrak

5
Pemrograman Berorientasi Objek - Sistem Informasi
Setting
Environment
Variable
• Buka Environment
Variable di Windows
dengan melakukan
pencarian

6
Pemrograman Berorientasi Objek - Sistem Informasi
Setting
Environment
Variable
• Tambahan JAVA_HOME
di System Variables

7
Pemrograman Berorientasi Objek - Sistem Informasi
Setting
Environment
Variable
• Edit Path di System
Variables, lalu tambahkan
lokasi folder bin yang ada
dalam folder JDK

8
Pemrograman Berorientasi Objek - Sistem Informasi
Test Instalasi
• Jalankan perintah berikut
• java -version

• javac -version

Pemrograman Berorientasi Objek - Sistem Informasi 9


Integrated Development Environment
• IDE adalah smart editor yang digunakan untuk mengedit kode program

• IDE juga digunakan untuk melakukan otomatisasi proses kompilasi kode program dan
otomatisasi proses menjalankan program

IDE untuk Java

• IntelliJDEA Ultimate / Community : https://www.jetbrains.com/idea

• NetBeans : https://netbeans.apacche.org

• Jdeveloper : https://www.oracle.com/tools/downloads/jdeveloper-12c-downloads.html

• Visual Studio Code : https://code.visualstudio.com/docs/java/java-tutorial

Pemrograman Berorientasi Objek - Sistem Informasi 10


Referensi
• Tutorial Java Dasar Bahasa Indonesia

• Setting Java Path di Windows

• Getting Started with Java in VS Code

Pemrograman Berorientasi Objek - Sistem Informasi 11

You might also like