java程序启动报Error: Could not create the Java Virtual Machine.错误

java程序启动报如下错误

Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

image.png


可能原因,服务器装了2种不同版本的jdk,

rpm -qa |grep jdk

删除不需要的java版本,然后在测试

分享到:
关键词:JavaLinux运维

网友留言(0 条)

发表评论