IDEA运行时错误:

IDEA 中:Error occurred during initialization of VM
Unable to load native library: Can’t load this .dll (machine code=0x0) on a AMD 64-bit platform

原因:项目JDK版本与module版本不一致。解决步骤:
1、查看项目JDK版本,File->Project Structre->SDKs,如图为1.8:
IDEA 中:Can’t load this .dll (machine code=0x0)
IDEA 中:Can’t load this .dll (machine code=0x0)
2、修改项目module的JDK版本,如图所示,与项目版本一致,点击appley保存即可:

IDEA 中:Can’t load this .dll (machine code=0x0)
3、运行OK!
总结:java运行与JVM相关的错误,可从JDK入手!

相关文章:

  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
  • 2021-11-30
  • 2021-10-01
  • 2021-08-02
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-05
  • 2022-12-23
  • 2021-11-29
  • 2021-10-22
相关资源
相似解决方案