Chapter One Programming Environment and Tools (1.2)
1.2. Programming environment and tools
1.2.1, programming environment
JDK( ) Java Development Kit
Is called Java Development Kit or Java development tool , is a preparation Java
ofApplet appletwithapplicationThe development environment of the program.
JDK is the core of the entire Java , includingJava runtime environment( Java Runtime Environment
), someJava toolswithJava's core class library( Java API
). No matter what Java
application server is, a certain version is built in JDK
. Mainstream JDK
is Sun 's announcement of a JDK, in addition to the Sun, there are many companies and organizations have developed their own JDK, for example, IBM developed the JDK, BEA company Jrocket
, as well as the GNU JDK development.
In addition, you can putJava APIIn the libraryJava SE API SubsetwithJava Virtual MachineThese two parts are collectively referred to asJRE( JAVA Runtime Environment
), JRE is a standard environment that supports the running of Java programs.
JRE is an operating environment,JDK is a development environment。
writeRequired for Java programsJDK
runRequired for Java programsJRE。
The JDK already contains JRE , so as long as the JDK is installed, you can edit the Java
program and run the Java
program normally . But because JDK contains a lot of content that has nothing to do with running, it takes up a lot of space, so it Java
is not necessary to install JDK to run ordinary programs, but only need to install JRE.
JDK—Baidu Encyclopedia
1.2.2, programming tools
Eclipse : An open source, based Java
and extensible development platform. (recommend)
NetBeans: Open source Java integrated development environment, suitable for various clients and Web applications.
IDEA IntelliJ : the generation of auto-cue codes , code analysis aspects of the like having a good functionality. (recommend)
MyEclipse: A commercial software developed by Genuitec , which is a widely used integrated development environment for Java applications.
EditPlus: If you configure the Java compiler "Javac" and the interpreter "Java" correctly, you can directly use EditPlus to compile and execute the Java program.