【ActiveMQ】The JVM process terminated …… exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)

问题描述

使用"bin\win64\activemq.bat"启动apache-activemq-5.18.2出错。

wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
wrapper  | The JVM process terminated due to an uncaught exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
wrapper  | The JVM process terminated due to an uncaught exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
wrapper  | The JVM process terminated due to an uncaught exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
wrapper  | The JVM process terminated due to an uncaught exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
wrapper  | The JVM process terminated due to an uncaught exception: EXCEPTION_ACCESS_VIOLATION (0xc0000005)
wrapper  | JVM exited while loading the application.
wrapper  | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
wrapper  |   There may be a configuration problem: please check the logs.
wrapper  | <-- Wrapper Stopped
请按任意键继续. . .

原因分析

可能存在Java版本冲突或者不兼容的问题。


解决方案

重新安装jdk-17.0.8,启动成功。

你可能感兴趣的:(ActiveMQ,activemq,jvm,java)