Java BASICS (1) JavaSE and javase
1. Three technical architectures of java:
J2SE (java 2 Platform Standard Edition): The Standard Edition is a solution for developing common desktop and business applications. This technology system is the basis of other two technologies. It can be used to develop some desktop applications. Java 5.0 is later renamed JavaSE.
J2EE (java 2 Platform Enterprise Edition): Enterprise Edition is a set of solutions for developing applications in an Enterprise environment. technologies included in this technology system, such as Servlet Jsp, it is mainly used for Web application development. After Java 5.0, It is renamed JavaEE.
Java 2 Platform Micro Edition: small Edition is a solution for developing electronic consumption products and embedded devices. This technology system is mainly used in small electronic consumer products, for example, the app in the mobile phone, Java 5.0 and later renamed JavaME.
2. java features:
Cross-platform: using the JVM (java Virtual Machine) installed on your own platform, the same code can be executed between different operating systems, also known as Java, with good portability.
3. java Development Environment:
Jre: the java Runtime Environment, including the core class libraries required by the java Virtual Machine (JVM) and java program. If you only want to run a developed java program, you only need to install jre on the computer. (Jre = JVM + Class Library)
Jdk: It is provided for java developers, including java development tools and jre. Therefore, if jdk is installed, you cannot install jre separately. Development tools: compilation tool (javac.exe) Packaging tool (jar.exe) and so on. (Jdk = jre + java development tools)
To put it simply: Use the java program developed by jdk to run it with jre.