永发信息网

执行.bat文件的时候报since it reqires a 1.6 compliant jvm 是什么原因

答案:2  悬赏:70  手机版
解决时间 2021-02-23 03:46
执行.bat文件的时候报since it reqires a 1.6 compliant jvm 是什么原因
最佳答案
在上一次查看tomcat启动文件都干点啥一文中,我们总结出,startup.bat文件的作用就是找到catalina.bat文件,然后把参数传递给它,在startup.bat中,调用catalina.bat的命令call "%EXECUTABLE%" start %CMD_LINE_ARGS%,其中"%EXECUTABLE%"这个就是catalina.bat文件,这个命令至少向catalina.bat传递一个参数--start.
接下来看一下catalina.bat中的内容,内容很长:
View Code
在第1行,和第17行中的内容已经在前一章中做出说明,在此处不再敖述,我对于18-85行的这段注释比较感兴趣:

1 rem ---------------------------------------------------------------------------
2 rem Start/Stop Script for the CATALINA Server
3 rem
4 rem Environment Variable Prerequisites
5 rem
6 rem CATALINA_HOME May point at your Catalina "build" directory.
7 rem
8 rem CATALINA_BASE (Optional) Base directory for resolving dynamic portions
9 rem of a Catalina installation. If not present, resolves to
10 rem the same directory that CATALINA_HOME points to.
11 rem
12 rem CATALINA_OPTS (Optional) Java runtime options used when the "start",
13 rem or "run" command is executed.
14 rem
15 rem CATALINA_TMPDIR (Optional) Directory path location of temporary directory
16 rem the JVM should use (java.io.tmpdir). Defaults to
17 rem %CATALINA_BASE%\temp.
18 rem
19 rem JAVA_HOME Must point at your Java Development Kit installation.
20 rem Required to run the with the "debug" argument.
21 rem
22 rem JRE_HOME Must point at your Java Runtime installation.
23 rem Defaults to JAVA_HOME if empty.
24 rem
25 rem JAVA_OPTS (Optional) Java runtime options used when the "start",
26 rem "stop", or "run" command is executed.
27 rem
28 rem JAVA_ENDORSED_DIRS (Optional) Lists of of semi-colon separated directories
29 rem containing some jars in order to allow replacement of APIs
30 rem created outside of the JCP (i.e. DOM and SAX from W3C).
31 rem It can also be used to update the XML parser implementation.
32 rem Defaults to $CATALINA_HOME/endorsed.
33 rem
34 rem JPDA_TRANSPORT (Optional) JPDA transport used when the "jpda start"
35 rem command is executed. The default is "dt_socket".
36 rem
37 rem JPDA_ADDRESS (Optional) Java runtime options used when the "jpda start"
38 rem command is executed. The default is 8000.
39 rem
40 rem JPDA_SUSPEND (Optional) Java runtime options used when the "jpda start"
41 rem command is executed. Specifies whether JVM should suspend
42 rem execution immediately after startup. Default is "n".
43 rem
44 rem JPDA_OPTS (Optional) Java runtime options used when the "jpda start"
45 rem command is executed. If used, JPDA_TRANSPORT, JPDA_ADDRESS,
46 rem and JPDA_SUSPEND are ignored. Thus, all required jpda
47 rem options MUST be specified. The default is:
48 rem
49 rem -agentlib:jdwp=transport=%JPDA_TRANSPORT%,
50 rem address=%JPDA_ADDRESS%,server=y,suspend=%JPDA_SUSPEND%
51 rem
52 rem LOGGING_CONFIG (Optional) Override Tomcat's logging config file
53 rem Example (all one line)
54 rem set LOGGING_CONFIG="-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties"
55 rem
56 rem LOGGING_MANAGER (Optional) Override Tomcat's logging manager
57 rem Example (all one line)
全部回答
任务占坑
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
西门子430运行时,BOP-2面板的上下键不能调频
急用!几道小学语文题,十五分钟之内追加悬赏啊
4399西游战记3里的灵魂石怎么得。
请问2008年北京奥运会主题歌是是谁唱的
凤翔的来历
笔记本键盘上的字会掉吗?掉了怎么办啊?
如何让小孩戒掉骄傲
新合作常客隆NO.120地址有知道的么?有点事想
求日本U熊片
颐和园要玩多久
陕西略阳灵岩寺介绍?
骄子书店地址在哪,我要去那里办事
萌哒哒还是萌萌哒?是什么意思?
《窗边的小豆豆》里牧羊犬洛基这个角色的作用
联想笔记本的读卡器要用多大的卡我的卡太小但
推荐资讯
为什么刚烫的内扣睡一觉就快成直发
yn38crd2国四柴油机发动机怎么磨合
老婆16岁生小孩领结婚证时丈夫要不要负法律责
至圣堂医药连锁诚济堂药店在什么地方啊,我要
双星轮胎怎么样!厂家的进货价格!
为什么粤语歌,尤其是抒情歌,会比国语歌好听
请推荐一本网络小说,都市的,希望有特异功能
十一我想去西安旅游主要想去小吃街钟楼秦始皇
韶山冲湘菜馆朝阳店我想知道这个在什么地方
中国几岁的孩子才能看釜山行
德国媒体在发表的一篇文章中说:“没有中国的
酒精会破坏Gore-Tex的防水性吗?
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?