LANGKAH 2: Mengcompile kode program kita

LANGKAH 2: Mengcompile kode program kita

Compile kode program yang telah kita buat dengan menggunakan Java compiler (javac.exe) yang telah termasuk dalam bundel Java SDK (J2SE), dapatkan Java SDK di http://java.sun.com/j2se/.

Gunakan DOS Prompt, buka melalui Start menu-Run-ketik CMD.
Tuliskan ini di DOS prompt :

Code:
javac Test.java

Setelah dicompile Test.java akan menghasilkan Test.class

Quote:Test.java (kode program) compile -> Test.class (java bytecode)

http://www.goldenstudios.or.id/forum/showthread.php?tid=437

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: