OpenJDK yog dab tsi?
OpenJDK yog dab tsi?

Video: OpenJDK yog dab tsi?

Video: OpenJDK yog dab tsi?
Video: Linux, Minecraft, and OpenJDK vs Oracle's Java pt 2 2024, Hlis ntuj nqeg
Anonim

java-1.7.0 tsi- ua openjdk .x86_64 yog lub pob uas muaj JRE. txz ->../All/java-1.7. 0- ua openjdk - devel muaj cov khoom tsim kho (yeem tej yam koj yuav tsum tsis txhob xav tau, yog tias koj tsuas xav khiav Java daim ntawv thov).

Tsis tas li ntawd, OpenJDK puas zoo ib yam li Oracle JDK?

OpenJDK yog qhov qhib qhov kev siv ntawm cov Java Standard Edition platform nrog kev koom tes los ntawm Oracle thiab qhib Java zej zog. Yog li tsis muaj kev sib txawv loj ntawm qhov sib txawv Oracle JDK thiab OpenJDK . Sib nrug los ntawm lub hauv paus code, Oracle JDK suav nrog, Oracle cov kev siv ntawm Java Plugin thiab Java WebStart.

Tsis tas li ntawd, yog OpenJDK pub dawb rau kev lag luam siv? Cov OpenJDK tsim los ntawm Oracle yog $ dawb , GPL daim ntawv tso cai (nrog rau Classpath kev zam kom nyab xeeb rau siv coj mus muag ), thiab muab nrog rau lawv kev lag luam muab. Nws tsuas yog muaj 6 lub hlis ntawm kev ruaj ntseg thaj ua rau thaj, tom qab ntawd Oracle npaj siab yuav hloov kho rau koj Java 12.

Kuj Paub, OpenJDK puas suav nrog JRE?

JDK yog Java Development Kit - nws yog JRE , tab sis nrog javac (uas yog qhov koj xav tau los sau Java qhov chaws) thiab lwm yam cuab yeej programming ntxiv. OpenJDK yog ib qho kev siv JDK tshwj xeeb. Java Developer Kit muaj cov cuab yeej xav tau los tsim cov kev pab cuam Java, thiab JRE khiav cov program.

Puas yog Java 1.7 tib yam li Java 7?

txhua txoj kev mus 1.7 , kuj hu ua Java 7 ) feem ntau muaj kev txhim kho rau ob qho tib si JVM thiab tus qauv tsev qiv ntawv, yog li ob feem ntau yuav tsum tau khiav ua ke, thiab tau ntim ua ke hauv JRE. Yog tias koj khiav ib qho Java program hauv koj lub computer, koj muaj ib tug JRE ntsia. JDK yog Java Cov khoom siv txhim kho.

Pom zoo: