Te rereketanga i waenga i te JDK me te JRE

Kete Whakawhanake Java (JDK):

Ko te JDK e tu ana mo te Java Development Kit ka whakamahia mo te whakawhanake i nga tono a Java na te mea he taiao whakawhanake rorohiko. He whakakotahitanga o nga taputapu maha mo te whanaketanga taupānga. Kei roto ko te Java Runtime Environment, he whakahiato motuhake mo Java (javac), he kaiwhakamaori, he kaihanga tuhinga e kiia nei ko Javadoc me te maha o etahi atu taputapu e hiahiatia ana e tetahi kaiwhakawhanake taupānga ki te whakawhanake i tetahi tono Java.

Te Taiao Whakawhanake a Java (JRE):

Ko JRE te tu mo Java Runtime Environment e kiia nei ko 'Java RTE'. He waahanga o te JDK, ka whakarato i te waahi whakahaere mo te mahi waehere. Ka whakaratohia e ia nga whakaritenga iti rawa mo te whakahaere i tetahi tono Java. Ko te JRE ko te Java Virtual Machine (JVM), nga akomanga matua me etahi atu konae tautoko.

Rerekētanga i waenga i te JDK me te JRE:

Java Development Kit, ko ta te ingoa e kii ana he kete o nga taputapu e tika ana he mea tino nui ki nga kaihanga Java. Ko tenei kete te kawenga mo te whakarato i tetahi taiao hei whakawhanake me te whakahaere (whakahaere) i te kaupapa Java. Ano hoki, e rua nga mea kei roto i tenei kete:

  1. Te Taiao Riko o te Java
  2. Nga taputapu whanaketanga (hei awhina i te whakawhanake i te hotaka)

Ko Java Runtime Environment (JRE), i tetahi atu taha, he kete whakaurunga, kaore i rite ki a JDK e whakarato ana i tetahi taiao mo te whakahaere i tetahi kaupapa Java, engari ehara mo te whakawhanake. I te mea ka tukuna noa e JRE te kaupapa Java kia mahia, na nga kaiwhakamahi mutunga o te kaupapa ka taea te whakamahi i te JRE i te mea karekau he waahanga whanaketanga hei whakamahi i nga kaiwhakawhanake (penei i a JDK).

kaituhi


Comments

Waiho i te Reply

Ka kore e whakaputaina tō wāhitau īmēra. Kua tohua ngā āpure e hiahiatia ana *

Whakamahia ai e tenei pae i te Akismet hei whakaiti i te mokowhiti. Akohia te tukatuka o to raraunga korero.