I've just downloaded Oracle's Server JRE for Java SE 7 (link) The file I downloaded was server-jre-7u45-linux-x64.tar.gz
. When I extracted this file I was surprised to find a directory named jdk1.7.0_45 was created containing the full java JDK. Not what I expected from a JRE install. What is going on here?
相关问题
- Delete Messages from a Topic in Apache Kafka
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- StackExchange API - Deserialize Date in JSON Respo
- Difference between Types.INTEGER and Types.NULL in
The answer is in the description of the packages on the parent page:
In the Server JRE case, "tools commonly required for server applications" includes some of the JDK tools. For instance, a web container (like Tomcat) needs to turn JSPs into compiled Java servlets, and this requires a callable Java compiler.
IMO, the benefit of using Server JRE is in what it DOES NOT include; i.e. the Java plugin which is a security nightmare (!) and auto-update which is bad for production service stability.