Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Deploy the Java project on the server to install JDK or JRE

Shulou Source: shulou.com Published: 2022-06-02 06:46:04 10月01日 Update

The main content of this article is to explain "deploy Java project on the server to install JDK or JRE", interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Next let the editor to take you to learn "deploy the Java project on the server to install JDK or JRE"!

The premise that only JRE is installed on the server:

1. When published to the server, all files are compiled files, including JSP files

2. Do not modify it directly on the server at a later stage (resulting in no recompilation after modification)

If the deployed projects are compiled and redeployed, you can only install JRE if you don't modify it directly on the server.

Note: if there is an uncompiled Java file that needs to be compiled or modified on the server, JDK should be installed on the server.

Benefits of installing JDK on a server:

1. Java files can be compiled to facilitate later maintenance.

2. Ensure the stable operation of JSP files after modification.

All in all, in order to avoid this and that kind of trouble in the future, JDK should be installed on the server. Because after all, post-project maintenance is the main thing.

At this point, I believe you have a deeper understanding of "deploying the Java project on the server to install JDK or JRE". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Tags: Server service file compilation project or content post-maintenance learning utility deeper interest premise benefit practicality simplicity of operation method more friends Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft NVidia Shulou Information macOS Apple