Cov txheej txheem:

Kuv yuav sau ib qho kev pab cuam hauv dab noj hnub li cas?
Kuv yuav sau ib qho kev pab cuam hauv dab noj hnub li cas?

Video: Kuv yuav sau ib qho kev pab cuam hauv dab noj hnub li cas?

Video: Kuv yuav sau ib qho kev pab cuam hauv dab noj hnub li cas?
Video: Plab Plab Ntswg..(Pluav Pluav Ntswg) Maiv Twm New Song 2023-2024 2024, Hlis ntuj nqeg
Anonim

Txhawm rau sau "Hello World" program ua raws li cov kauj ruam no:

  1. Pib Dab tuag .
  2. Tsim Java Project tshiab:
  3. Tsim ib chav kawm Java tshiab:
  4. Java editor rau HelloWorld.
  5. Txuag siv ctrl-s.
  6. Nyem "Khiav" khawm nyob rau hauv lub toolbar (zoo li ib tug me ntsis txiv neej khiav).
  7. Koj yuav raug ceeb toom los tsim Launch configuration.

Kuj nug, kuv yuav ua li cas khiav ib qho program hauv dab noj hnub?

Yuav ua li cas khiav Java Program hauv dab noj hnub

  1. Kauj ruam 1: Qhib dab noj hnub thiab nyem Cov Ntaub Ntawv> Tshiab> Java Project.
  2. Kauj ruam 2: Muab lub npe Project thiab nyem rau ntawm lub pob tiav.
  3. Kauj ruam 3: Hauv pob Explorer (sab laug sab ntawm lub qhov rais) xaiv qhov project uas koj tau tsim.
  4. Kauj ruam 4: Txoj cai-nias rau ntawm src nplaub tshev, xaiv Tshiab> Chav kawm los ntawm submenu.

Ib yam li ntawd, koj sau qhov program hauv Java li cas? Cov kauj ruam yooj yim los tsim qhov Hello World program yog: sau qhov program hauv Java, sau cov lej code, thiab khiav qhov program.

  1. Sau Java Source Code.
  2. Txuag cov ntaub ntawv.
  3. Qhib lub qhov rais Terminal.
  4. Java Compiler.
  5. Hloov cov directory.
  6. Sau Koj Qhov Kev Pabcuam.
  7. Khiav qhov Program.

Hais txog qhov no, kuv yuav sau li cas hauv dab noj hnub?

Rau ntxig a code block rau hauv tus editor, hom hauv lub npe code thaiv thiab tom qab ntawd ntaus CTRL + SPACE qhov tseem ceeb ua ke kom qhib qhov Eclipse code pab zaub mov.

Vim li cas Eclipse thiaj siv?

Tsim los siv Java, lub Dab tuag platform tuaj yeem ua tau siv los txhim kho cov neeg siv khoom nplua nuj, kev tsim kho ib puag ncig thiab lwm yam cuab yeej. Dab tuag tuaj yeem yog siv raws li IDE rau txhua hom lus programming uas muaj plug-in.

Pom zoo: