The server has deployed a application, using the OpenJDK1.8 + tomcat + mysql
Now I want to deploy an application, but the use environment is JDK1.6 + JBOSS
Excuse me each great god I should how to operate?
CodePudding user response:
Because with two JDK so JDK path is not the same, the startup scripts in the jboss configuration javahome or pathCodePudding user response:
Very simple,First of all, its and the JDK is installed directly
In starting the application script processing, modify tomcat or jboss startup scripts, increase java_home at the beginning, or in the Java command with an absolute path
CodePudding user response:
Command line setting bin path, and then use the command line start the program, so that the path environment variable is the path you specifyCodePudding user response:
Command line to modify environment variableshttps://blog.csdn.net/sxzlc/article/details/104910162
CodePudding user response:
Command line to modify environment variableshttps://blog.csdn.net/sxzlc/article/details/104910162
Command line launcher
start