永洪社区

标题: 安装Yonghong X+Viewer错误 [打印本页]

作者: yhdata_Sec7ssv1    时间: 2022-9-30 09:29
标题: 安装Yonghong X+Viewer错误
找不到文件
Using CATALINA_BASE:   "C:\install\YonghongXViewer\XViewer\tomcat"
Using CATALINA_HOME:   "C:\install\YonghongXViewer\XViewer\tomcat"
Using CATALINA_TMPDIR: "C:\install\YonghongXViewer\XViewer\tomcat\temp"
Using JRE_HOME:        "C:\install\java\jdk1.8.0_202"
Using CLASSPATH:       ";..\webapps\bi\WEB-INF\classes;;C:\install\YonghongXViewer\XViewer\Yonghong\product\api.jar;C:\install\YonghongXViewer\XViewer\Yonghong\product\autoNavi.jar;C:\install\YonghongXViewer\XViewer\Yonghong\product\baidu.jar;C:\install\YonghongXViewer\XViewer\Yonghong\product\base.jar;C:\install\YonghongXViewer\XViewer\Yonghong\product\product.jar;C:\install\YonghongXViewer\XViewer\Yonghong\product\thirds.jar;C:\install\YonghongXViewer\XViewer\Yonghong\lib\mongo-java-driver-3.11.0.jar;..\lib\servlet-api.jar;;C:\install\YonghongXViewer\XViewer\tomcat\bin\bootstrap.jar;C:\install\YonghongXViewer\XViewer\tomcat\bin\tomcat-juli.jar"
Using CATALINA_OPTS:   "-Xmx3959m  -Xms3959m  -XX:MetaspaceSize=256m -XX:G1HeapRegionSize=32m -XX:InitiatingHeapOccupancyPercent=35 -XX:G1ReservePercent=15 -XX:+ParallelRefProcEnabled -XX:SoftRefLRUPolicyMSPerMB=0 -Xlog:gc*:file=../logs/jvm.log:time:filecount=16 -Djava.awt.headless=true --add-exports java.base/jdk.internal.ref=ALL-UNNAMED --add-opens java.base/jdk.internal.ref=ALL-UNNAMED -Djava.awt.headless=false -XX:-OmitStackTraceInFastThrow"
Unrecognized option: -Xlog:gc*:file=../logs/jvm.log:time:filecount=16
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

我的Java环境搭建好了。已经可以正常运行Java代码。安装Yonghong X+Viewer时也按安装教程选择C:\install\java\jdk1.8.0_202的安装路径。但是还时报了这个错。有谁知道什么原因


作者: lwaaa    时间: 2022-9-30 09:30
用管理员身份运行试试
作者: 0xRichard    时间: 2022-9-30 09:31
安装一个jdk11,修改一下tomcat启动依赖的jdk和jre路径,然后重启
作者: yhdata_Sec7ssv1    时间: 2022-9-30 09:40
richard_y 发表于 2022-9-30 09:31
安装一个jdk11,修改一下tomcat启动依赖的jdk和jre路径,然后重启

能说下为啥吗?是安装的时候选择jdk路径那里修改吗?还是不需要重新安装直接有配置文件可以修改?
作者: 0xRichard    时间: 2022-9-30 09:46
yhdata_Sec7ssv1 发表于 2022-9-30 09:40
能说下为啥吗?是安装的时候选择jdk路径那里修改吗?还是不需要重新安装直接有配置文件可以修改? ...

(, 下载次数: 202)