zoukankan      html  css  js  c++  java
  • 使Tomcat指向指定的JDK目录

    1,修改bin文件夹下面的catalina.bat文件,把如下内容

    rem ----- Execute The Requested Command ---------------------------------------

    echo Using CATALINA_BASE: %CATALINA_BASE%
    echo Using CATALINA_HOME: %CATALINA_HOME%
    echo Using CATALINA_TMPDIR: %CATALINA_TMPDIR%
    echo Using JAVA_HOME: %JAVA_HOME%

    修改为:

    echo Using CATALINA_BASE: %CATALINA_BASE%
    echo Using CATALINA_HOME: %CATALINA_HOME%
    echo Using CATALINA_TMPDIR: %CATALINA_TMPDIR%
    echo Using JAVA_HOME: D:jdk -------这里的d:jdk即为需要指定的目录---------

    2,修改bin文件夹下面的setclasspath.bat文件,把如下内容:

    rem Set standard command for invoking Java.
    rem Note that NT requires a window name argument when using start.
    rem Also note the quoting as JAVA_HOME may contain spaces.
    set _RUNJAVA="%JAVA_HOME%injava"
    set _RUNJAVAW="%JAVA_HOME%injavaw"
    set _RUNJDB="%JAVA_HOME%injdb"
    set _RUNJAVAC="%JAVA_HOME%injavac"

    修改为:

    rem Set standard command for invoking Java.
    rem Note that NT requires a window name argument when using start.
    rem Also note the quoting as JAVA_HOME may contain spaces.
    set _RUNJAVA="D:jdk5injava"
    set _RUNJAVAW="D:jdk5injavaw"
    set _RUNJDB="D:jdk5injdb"
    set _RUNJAVAC="D:jdk5injavac"

  • 相关阅读:
    XSS 1
    KALI修改密码
    bugku web4
    16进制 32进制 base64之间的区别
    buuctf
    buuctf wireshark
    buuctf 变异凯撒
    2016集训测试赛(二十)Problem A: Y队列
    USACO 4.1.1 麦香牛块 Beef McNuggets
    2016集训测试赛(十八)Problem C: 集串雷 既分数规划学习笔记
  • 原文地址:https://www.cnblogs.com/zhilu-doc/p/4889390.html
Copyright © 2011-2022 走看看