Ib daim ntawv thov sau ua hom lus java yog lub thawv ntawv cov ntawv sau lossis txheej txheej ntawm *.java thiab *.class cov ntaub ntawv, yog tias cov txheej txheem tivthaiv tsis tau muab tso ua ke rau hauv cov thawv ntawv ua tiav. Txhawm rau khiav cov ntawv thov no, koj yuav tsum teeb tsa Java Runtime Environment.
Tsim nyog
- - Is Taws Nem;
- - Java Runtime Environment program.
Cov Lus Qhia
Kauj ruam 1
Mus rau ntawm qhov chaw java tsim tsim tshwj xeeb ntawm https://java.sun.com/javaee/sdk/ thiab rub tawm cov tshuab java tshiab. Nruab qhov program nyob rau ntawm lub hard drive ntawm koj lub computer. Qhia kom meej cov kev khiav haujlwm nrog cov kab mus rau cov ntaub ntawv nruab ntawm lub java tshuab - kom ua qhov no, ntxiv txoj hauv kev rau qhov chaw teeb tsa ntawm qhov kev zov me nyuam mus rau kab kev ntawm qhov chaw ib puag ncig (cov Advanced tab hauv lub koos pij tawj lub qhov rai).
Kauj ruam 2
Khiav cov kab hais kom ua los ntawm cov ntawv qhia zaub mov tseem ceeb lossis los ntawm kev siv cmd cov lus txib nkag mus rau hauv Lub thawv khiav. Mus rau kab hais kom ua nyob rau hauv cov kev qhia ntawm java program uas koj xav tau khiav. Nkag mus rau qhov kev hais kom ua: java -cp [filename].jar [lub npe ntawm chav kawm tseem ceeb ntawm qhov kev pab cuam] Nias Sau - cov ntaub ntawv yuav raug tua.
Kauj ruam 3
Yog tias koj xav tau sau cov ntaub ntawv java, sau javac [lub npe cov ntaub ntawv].java ua raws java -cp [file name]. Txog cov ntaub ntawv hais txog cov kev xaiv rau kev khiav java cov ntaub ntawv los ntawm cov kab hais kom ua, nkag mus rau hauv java -help tsab ntawv thiab nias Enter. Ua tiav cov npe ntawm cov lus txib tau thiab lawv cov kev xaiv yuav tshwm rau ntawm lub vijtsam. Nkag mus rau tag nrho cov lus txib kom raug, vim kev sib txuas tsis haum tuaj yeem cuam tshuam rau tag nrho cov kev ua haujlwm ntawm lub computer ntiag tug.
Kauj ruam 4
Yog tias koj xav tau sau cov mini ua si sau hauv java rau cov khoom siv mobile hauv koj lub computer, rub tawm Mid Midi program. Daim ntawv thov no tso cai rau koj khiav cov ntaub ntawv thawv tsis muaj teeb meem uas tsis muaj teeb meem. Thaum cov software no tau nruab, txoj nyem rau ib qho ntawm cov thawv ntawv thiab xaiv Cov Khoom Ntaus. Tom ntej no, lub qhov rai yuav tshwm nyob rau hauv uas nyem rau "Hloov" khawm thiab xaiv qhov kev pabcuam tsim nyog los qhib cov hom ntaub ntawv no, uas yog, MidpX nqi hluav taws xob.