MAT启动“Version 1.8.0_112 of the JVM is not suitable for this product. Version: 17 or greater is required.”
启动mat时提示jdk版本需要17或以上。
下载jdk17:
https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html
在-vmargs前面指定-vm的jdk版本
-vm
D:\Program Files\jdk-17.0.10\bin示例
-startup
plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.700.v20221108-1024
-vm
D:\Program Files\jdk-17.0.10\bin
-vmargs
--add-exports=java.base/jdk.internal.org.objectweb.asm=ALL-UNNAMED
-Xmx2024mEnd