Rocketmq download address: downloading the Apache rocketmq releases – Apache rocketmq
Environment
system | windows 10 64 bit |
jdk version | jdk11 |
RocketMQ version | 5.0 |
question:
After downloading, unzip the package and start the cmd file, the following error message appears:
Solution:
1. Change the jdk version to below 9. Versions 9 and above are obsolete CMSCompactAtFullCollectionand cannot be supported.
2. Delete parameters not supported by jvm: open runserver.cmd to edit; or comment out this line.
There may be other unsupported classes: PrintGCDateStamps, PrintGCTimeStamps, etc. are all handled this way.
Unrecognized VM option ' <Option> ' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.
There is also a list of 50 options that no longer work in JDK 9. Check that you are using these options on the command line and in the startup script:
- AdjustConcurrency
- CMSCompactWhenClearAllSoftRefs
- CMSDumpAtPromotionFailure
- CMSFullGCsBeforeCompaction
- CMSIncrementalDutyCycle
- CMSIncrementalDutyCycleMin
- CMSIncrementalMode
- CMSIncrementalOffset
- CMSIncrementalPacing
- CMSParPromoteBlocksToClaim
- CMSPrintEdenSurvivorChunks
- CollectGen0First
- GCLogFileSize
- NumberOfGCLogFiles
- ParallelGCVerbose
- PrintAdaptiveSizePolicy
- PrintCMSInitiationStatistics
- PrintCMSStatistics
- PrintClassHistogramAfterFullGC
- PrintClassHistogramBeforeFullGC
- PrintFLSCensus
- PrintFLSStatistics
- PrintGCApplicationConcurrentTime
- PrintGCApplicationStoppedTime
- PrintGCCause
- PrintGCDateStamps
- PrintGCTaskTimeStamps
- PrintGCTimeStamps
- PrintHeapAtGC
- PrintHeapAtGCExtended
- PrintJNIGCStalls
- PrintOldPLAB
- PrintPLAB
- PrintParallelOldGCPhaseTimes
- PrintPromotionFailure
- PrintReferenceGC
- PrintTLAB
- PrintTenuringDistribution
- TraceDynamicGCThreads
- TraceGen0Time
- TraceGen1Time
- TraceMetadataHumongousAllocation
- TraceParallelOldGCTasks
- UseCMSCollectionPassing
- UseCMSCompactAtFullCollection
- UseGCLogFileRotation
- UseMemSetInBOT
- UsePPCLWSYNC
- UseVMInterruptibleIO
- WorkAroundNPTLTimedWaitHang
Read More:
- [Solved] Rocketmq installation error: org.apache.rocketmq.remoting.exception.remotingconnectexception: connect to failed
- [Solved] RocketMQ Start broker Error: StoreScheduledThread1
- [Tomcat] Unrecognized Windows Sockets error: 10106: Socket creation failed
- [Solved] javajdk1.8 Run javaFx Error: Error:Error: A fatal exception has occurred. Unrecognized option: –module-path
- [Solved] Rocketmq remote connection error: sendDefaultimpl call timeout
- [Solved] Rocketmq Root Account Startup Error: Permission denied
- [Solved] Windows PyCharm Start Error: failed to load JVM DLL pycharmjbrbinserverjvm.dll
- [Solved] rocketmq Startup Error: Error: Could not create the Java Virtual Machine.
- [Solved] ES Error: request contains unrecognized parameter [ignore_throttled]
- [Solved] Error occurred during initialization of VM javalangNoClassDefFoundError javalangObject
- [Solved] HttpMessageNotReadableException: JSON parse error: Unrecognized field “xxxx“
- [Solved] Error occurred during initialization of VM Could not reserve enough space for object heap
- [Solved] jvm 1 Error occurred during initialization of VM Could not reserve enough space for object heap
- [Solved] Error occurred during initialization of VM Could not reserve enough space for 1572864KB object heap
- [Solved] Tomcat7 Start Error: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardCon
- [Solved] Tomcat Startup Error: A child container failed during start、LifecycleException: Failed to start component
- JAVA Connect Redis Error: stop-writes-on-bgsave-error option
- Idea create Maven project Error: [error] no longer supports source option 1.5. Please use version 1.6 or higher, and the idea reports an error: error: Java does not support the error of release version 5
- How to Solve zipkin Install Error in Windows
- How to Fix COM Surrogate has stopped working in Windows 7