jdk+tomcat environment variable configuration

Do not add semicolons to all HOME type variables, because %HOME%/bin should be added to the path


1. JDK environment variables:

System variables:

new

CLASSPATH

plus

.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;


New
JAVA_HOME
D:\Program Files\Java\jdkEdit


Path
%
JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
Add on the front



Second, tomcat environment variables:

Configure tomcat environment variables:

Installation version:
    1. New CATALINA_HOME: variable name CATALINA_HOME, variable value tomcat directory
Example: (E:\apache-tomcat-8.0.12)

   2. Add it to the classpath

%CATALINA_HOME%\lib;%CATALINA_HOME%\bin;



Compressed version service configuration installation


cmd enter the tomcat/bin directory, enter service.bat install

(Uninstall the service: service.bat remove)



Maven environment variable configuration:

new

M2_HOME

D:\JavaSofeware\Maven\apache-maven-3.5.3

Edit Path

%M2_HOME%\bin

test mvn -version


Node environment variable configuration:

Edit Path

C:\nodejs

C:\nodejs\node_global





Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325533695&siteId=291194637