• Tidak ada hasil yang ditemukan

LeonAbdillah ProgrammingConcepts 02 Programming Concepts Environment 01Ganijl2016 2017 20160919

N/A
N/A
Protected

Academic year: 2022

Membagikan "LeonAbdillah ProgrammingConcepts 02 Programming Concepts Environment 01Ganijl2016 2017 20160919"

Copied!
35
0
0

Teks penuh

(1)

02

Programming Concepts Environment

2016

Programming Concepts (Konsep Pemrograman)

Leon Andretti Abdillah

(2)

Required Softwares

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

2

1. JRE (Java Runtime Environment), Java, eClipse – Kepler/Luna/Mars/Neon

2. DevC++

3. Windows Free Pascal IDE

(3)

Download Java Runtime Environment (JRE)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

3

1. Kunjungi URL 

http://www.oracle.com/technetwork/java/javase/downloads /jre8-downloads-2133155.html,

maka akan muncul “Java SE Runtime Environment 8u101”

(4)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

4

2. Accept License Agreement

(5)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

5

3. Pilih JRE sesuai dengan spesifikasi PC/Laptop masing-

masing (misalnya; untuk contoh Windows 64 bit)

(6)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

6

4. Download JRE 8u101 tersebut

(7)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

7

5. Save di lokasi directory yang diinginkan

(8)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

8

6. Install JRE tersebut

(9)

Download Java Version 8 Update 101 (Release date July 19, 2016)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

9

1. Kunjungi URL  https://www.java.com/en/download/,

klik “Free Java Download”

(10)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

10

2. Accepted the terms of the end user license agreement

(11)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

11

3. Download

(12)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

12

4. Letakkan file hasil download ke Folder yang diinginkan

5. Install file tersebut

(13)

Download Eclipse

Kepler/Luna/Mars/Neon

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

13

1. Kunjungi URL  http://www.eclipse.org/downloads/eclipse- packages/

2. Pilih Package yang diinginkan (;Eclipse Neon)

(14)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

14

3. Unzip

(15)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

15

4. Buka Path Eclipse

(16)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

16

5. Jalankan Eclipse, maka unucl Splash Eclipse Neon

(17)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

17

6. Tentukan Folder Workspace

7. Jika mau diubah, misalnya  d:\\workspaceNeon

Jika tidak ingin diubah silahkan saja menggunakan alamat

workspace tersebut, jika ingin diubah silahkan klik tombol Browse dan tentukan alamat path folder-nya.

Jangan lupa klik “Use this as the

default and do not ask again”

(18)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

18

8. Loading

(19)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

19

9. Eclipse Neon IDE Tab Welcome

10. Close Tab Welcome, maka akan muncul Eclipse Neon IDE

(20)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

20

11. Eclipse Neon IDE (Integrated Development Environment)

Eclipse IDE terdiri atas:

1. Tittle Bar (worksapceNeon – Java – Eclipse) 2. Main Menu Bar (File, Edit, Source, ...) 3. Tool Bar (New, Save, Save All, ...) 4. Package Explorer

5. Code Editor 6. Console

(21)

Create Java Project

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

21

1. Pada Main Menu Baru klik File  New  Java Project

(22)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

22

2. Input Java Project Name

(23)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

23

3. Setelah klik Finish maka pada Package Explorer muncul Java

Project “JavaPC-SI1H”

(24)

Create Java Package (Optional)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

24

1. Pada Java Project yang sudah ada (JavaPC-SI1H) klik kanan

New Package

Muncul kotak dialog New Java Package 

(25)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

25

2. Input Name untuk New Java Package

Pada Name ketikkan “aHello”, kemudian klik Finish

(26)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

26

3. Maka akan muncul New Java Package “aHello” dibawah Java

Project

(27)

Create New Java Class

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

27

1. Jika ada mau memasukkan java class ke dalam package  Pada

Java Package “aHello” klik kanan dan pilih New  Class

(28)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

28

2. Maka akan muncul kotak dialog New Java Class

Pada Name ketikkan Hello, kemudian klik “public static void main”

(29)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

29

3. Pada Name ketikkan Hello, kemudian klik “public static void main”

Tekan tombol Finish,

(30)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

30

4. Maka akan muncul template atau struktur program Java

(31)

Ketikkan Java Code

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

31

1. package aHelloWorld;

2.

3. public class HelloWorld {

4.

5. public static void main(String[] args) {

6. // TODO Auto-generated method stub

7.

8. System.out.print("Hello World");

9. }

10.

11. }

(32)

Compile Java Code

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

32

 Compile, Build dan Run Program Java pertama Anda

 Secara default, Eclipse compiles the code automatically as you type.

 Result

(33)

Homework

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

33

1. Download and install

a) DevC++

b) Windows Free Pascal IDE

2. Write a documentation of download and install above documentation in Word 2007

3. Store it in the cloud repository (dropbox)

4. Paste the URL in class group

(34)

References

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

34

Abdillah, L. A. (2009a). Pemrograman II (Delphi Dasar) Edisi 4. Palembang: Pusat Penerbitan dan Percetakan Universitas Bina Darma (PPP-UBD) Press.

Abdillah, L. A. (2009b). Pemrograman III (Delphi Database) Edisi 4. Palembang: Pusat Penerbitan dan Percetakan Universitas Bina Darma.

Abdillah, L. A. (2013). Algorithms & Programming. Retrieved from

http://blog.binadarma.ac.id/mleonaa/teaching/programming/algorithm-and- programming-2/

Abdillah, L. A. (2014). Data Structures & Algorithms. Retrieved from http://blog.binadarma.ac.id/mleonaa/teaching/programming/data- structures/

Abdillah, L. A. (2016a). Algorithms & Data Structures. Retrieved from

http://blog.binadarma.ac.id/mleonaa/teaching/programming/algorithms- and-data-structures/

Abdillah, L. A. (2016b). Programming Concepts. Retrieved from

http://blog.binadarma.ac.id/mleonaa/teaching/programming/programming-

concepts/

(35)

19/09/2016 9:30:57 Leon Abdillah - PC - Installing Java & Eclipse

35

Eclipse. (2016). Eclipse Downloads, from

http://www.eclipse.org/downloads/eclipse-packages/

Holowczak, R. Programming Concepts: A Brief Tutorial for New

Programmers, from http://holowczak.com/programming-concepts- tutorial-programmers/

Oracle. (1995). About the Java Technology, from

http://docs.oracle.com/javase/tutorial/getStarted/intro/definition.ht ml

Oracle. (2016a). Free Java Download, from https://www.java.com/en/download/

Oracle. (2016b). Java SE Runtime Environment 8 Downloads, from http://www.oracle.com/technetwork/java/javase/downloads/jre8- downloads-2133155.html

Sedgewick, R., & Wayne, K. (2011). Algorithms: Addison-Wesley

Professional.

Referensi

Dokumen terkait

• Jika intensitas panggilan dalam sebuah sistem telepon adalah 120 panggilan dalam 1 menit, sedang waktu layanan rata-rata adalah 2 menit, maka kita katakan bahwa offered

Gambar 4.22 Halaman Untuk Mengubah Data Jabatan Bagian

Various indigenous lactic acid bacteria (LAB) involved in the dadih fermentation may vary from time to time, from one place to another due to the natural fermentation without

DAFTAR PEMILIH TETAP PEMILIHAN GUBERNUR DAN WAKIL GUBERNUR PROVINSI ACEH SERTA BUPATI DAN WAKIL BUPATI KABUPATEN ACEH BESAR TAHUN 2017 PROVINSI KABUPATEN/KOTA.. KECAMATAN

Pada tahun 1881 Frederich Bezold (1824-1908) melaporkan adanya pus yang keluar dari sisi medial prosesus mastoid yang terinfeksi dan membentuk abses jaringan leher dalam,

bahwa berdasarkan ketentuan Pasal 37 huruf g dan Pasal 47 Peraturan Menteri Dalam Negeri Nomor 13 Tahun 2006 tentang Pedoman Pengelolaan Keuangan Daerah, sebagaimana telah diubah

Situ bekas galian pasir merupakan ekosistem perairan yang kurang mendapatkan perhatian, namun jika diamati memiliki potensi untuk dikembangkan sebagai lahan budidaya, baik

Menambah pengetahuan mahasiswa tentang perkembangan perawatan tradisional untuk mengatasi masalah ketombe pada kulit kepala dengan menggunakan bahan alami yaitu minyak