Cov txheej txheem:

Kuv yuav hloov JDK hauv IntelliJ li cas?
Kuv yuav hloov JDK hauv IntelliJ li cas?

Video: Kuv yuav hloov JDK hauv IntelliJ li cas?

Video: Kuv yuav hloov JDK hauv IntelliJ li cas?
Video: Lo lus, ntxig rau cov duab, duab qhov chaw yooj yim heev. 2024, Hlis ntuj nqeg
Anonim

Yuav hloov pauv IntelliJ IDEA JDK li cas?

  1. Ntawm cov ntawv qhia zaub mov, nyem File -> Project Structure.
  2. Platform Settings -> SDKs, ntxiv thiab taw tes rau lub JDK 13 ntsia folder.
  3. Project Settings -> Project, hloov ob qho tib si Project SDK thiab Project lus theem mus rau JDK 13.
  4. Project Settings -> Module, hloov qib lus rau JDK 13.

Ntawm no, kuv yuav xaiv JDK hauv IntelliJ li cas?

Configure IntelliJ IDEA

  1. Ntxiv SDKs xav tau.
  2. Nyem rau Configure> Project Defaults> Project Structure.
  3. Xaiv SDKs.
  4. Ntxiv Java Development Kit.
  5. Nyem +> JDK.
  6. Nco tseg: Nias Cmd+Shift+. los qhia cov ntaub ntawv zais hauv cov ntaub ntawv xaiv lub dialog.
  7. Nkag mus rau JDK qhov chaw. E.g., /Library/Java/JavaVirtualMachines/jdk1.
  8. Xaiv lub JDK nplaub tshev.

Ib tug kuj yuav nug, Kuv yuav hloov kho kuv JDK li cas? Mus rau lub tswj vaj huam sib luag thiab qhib Java Control Vaj Huam Sib Luag los ntawm ob-nias lub Java icon nyob ntawd. Nyem rau Hloov tshiab tab thiab nias rau ntawm Hloov tshiab Tam sim no khawm. Siv Java Control Vaj Huam Sib Luag tsuas yog hloov tshiab JRE tab sis tsis yog JDK.

Yog li ntawd, kuv puas xav tau JDK rau IntelliJ?

Txhawm rau tsim cov ntawv thov hauv IntelliJ IDEA, koj xav tau Java SDK ( JDK ). Koj yuav tsum tau txais thiab nruab lub standalone JDK ua ntej koj pib tsim hauv Java. IntelliJ IDEA tsis tuaj nrog lub JDK , yog li yog tias koj tsis muaj qhov tsim nyog JDK version, download tau thiab nruab nws.

Kuv yuav rov pib dua IntelliJ li cas?

Rau rov qab los tus IntelliJ IDEA pib chaw , tshem tawm kev teeb tsa directory tswv yim. config. txoj kev thaum IDE tsis khiav. Yog xav paub ntxiv, saib IntelliJ IDEA kev teeb tsa phau ntawv.

Pom zoo: