Jump to content
Sign in to follow this  
achillis

Newbie Java - Zero Knowledge

Recommended Posts

kawan2 sumer

mintak guidence ckit ek

aku dh 3 tahun tinggal mende2 java ni, skrg nak start blk sbb sayangkan ilmu dan sbb skrg byk dpt code2 baru yg nak try

masalahnye cara2 nak tulis code tu aku leh kenang blk, cuma lupa camner nak run java tu. maksudny apa yg perlu aku install kat pc aku, software aper, prog aper. dh cuba pikir byk kali dah mmg x igt langsung apa requirement nak start guna java nih. sbb dulu install java sekali jek, pastu duk buat prog try and error jek.

tolong bagitau

Share this post


Link to post
Share on other sites

ok :

1. dload jdk dr website sun [> 50MB je]

2. wat setting classpath

- satu cara, add manually kat system path

- lg satu, pki command line sblm compile

3. tulis satu code

sample :

///////////////////////////////////////////////////

public class Test {

public static void main(String[] args) {

System.out.println("Ha, kuar x?");

}

}

////////////////////////////////////////////////////

save dlm c:\Test.java (jgn gne word ke ape, pki notepad je)

4. pstu bkk satu command prompt, g kat directory ko save Test.java td (c:\)

5. compile : javac Test.java

6. run : java Test

ni kira basic la, sebab skang ni java da besar gle, ko kne ada specialty, nk buat web ke, application ke, ape ke

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...