

Oracle plans to maintain it until at least 2030. Java 8 is the last free software public update for commercial use, which explains why it remains popular. You can download the version you need below: Java 8, Java 11 and Java 17 are the three long-term support versions recommended by Oracle. However, many versions of Java are actively maintained for compatibility purposes. The latest version of Java is Java 20 or JDK 20 released on March, 2023. Why would you need the JDK then? Because the application server will convert JSP into Java servlets and needs to use the JDK to compile the servlets. For example, if you are deploying a web application with JSP, you are technically just running Java programs inside the application server. Sometimes, even if you are not planning to do any Java development on a computer, you still need the JDK installed. It is capable of creating and compiling programs. It has everything the JRE has, but also the compiler (javac) and tools (like javadoc and jdb). The JDK is the Java Development Kit, the full-featured SDK for Java.
