Java HotSpot ™ 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated
It may be a JDK version problem
jdk1.8 is OK
if you want to use a higher version, such as jdk11
Windows:
Modify bin\runserver.cmd
Linux:
Modify bin\runserver.sh
before modification:
set "JAVA_OPT=%JAVA_OPT% -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:CMSInitiatingOccupancyFraction=70 -XX:+CMSParallelRemarkEnabled -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+CMSClassUnloadingEnabled -XX:SurvivorRatio=8 -XX:-UseParNewGC"
After modification:
set "JAVA_OPT=%JAVA_OPT% -XX:SoftRefLRUPolicyMSPerMB=0 -XX:+CMSClassUnloadingEnabled -XX:SurvivorRatio=8"
Read More:
- Eclipse Error: Could not create the Java Virtual Machine Error:A fatal exception has occurred
- [Solved] Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred.
- [Solved] Error: Could not create the Java Virtual Machine. Error: A fatal exception h…..
- [Solved] Rocketmq Root Account Startup Error: Permission denied
- [Solved] Rocketmq installation error: org.apache.rocketmq.remoting.exception.remotingconnectexception: connect to failed
- [Solved] Windows Start RocketMq Error: Unrecognized VM option ‘UseCMSCompactAtFullCollection‘
- [Solved] JAVA OpenCV Startup Error: java.lang.UnsatisfiedLinkError
- [Solved] IDEA springboot Startup Error: java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path
- [Solved] ln: failed to create symbolic link ‘/usr/bin/java’: File exists
- 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
- [Solved] openstack4j Startup Error: java.net.UnknownHostException: controller
- [Solved] RocketMQ Start broker Error: StoreScheduledThread1
- [Solved] Rocketmq remote connection error: sendDefaultimpl call timeout
- [Solved] Docker Startup Error: OCI runtime create failed container_linux.go380 starting container process
- [Solved] IDEA startup Error: Java lang.StackOverflowError
- [Solved] nacos Startup Error: Please set the JAVA_HOME variable in your environment
- [Solved] nacos Startup Error: nested exception is java.lang.RuntimeException: java.lang.RuntimeException: [db-load-error
- [Solved] JAVA Web Error: startup failed due to previous errors
- [Solved] IDEA Startup Error: java: Internal error in the mapping processor
- [Solved] Swagger Startup Error: java.lang.NumberFormatException: For input string: ““