问题描述:

在执行简单的Java 语句的时候,出现了

Error: A JNI error has occurred, please check your installation and try again

Exception in thread “main” java.lang.UnsupportedClassVersionError: lessons/testValue has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

问题解决:
Package-> Build path-> Configure Build Path-> Java Compiler -> “Compiler compliance level”
从 ‘11’ 更新为‘1.8’

备注
我本地java 版本为 1.8.0.231

Error: A JNI error has occurred, please check your installation and try again 更新Compiler compliance相关推荐

  1. 使用IntelliJ IDEA导入 Flink 消费kafka报错 Error: A JNI error has occurred, please check your installation an

    提示找不到类,pom中已经引用了jar包,使用eclipse也可以执行,就是IntelliJ不行 java.lang.NoClassDefFoundError: org/apache/flink/ap ...

  2. lDEA报错Error: A JNI error has occurred, please check your installation and try again

    今天java程序run出现 Error: A JNI error has occurred, please check your installation and try again 解决方法:修改j ...

  3. Error:A JNI error has occurred, please check your installation and try again的解决方法

    我是在使用idea时遇到的这个问题,这个问题出现的原因有两种: 第一种可能: 如果你将其他module下的package直接复制到另一个module的src下,那么package的名字可能会变为jav ...

  4. java:A JNI error has occurred, please check your installation and try again

    报错 运行jar报错:A JNI error has occurred, please check your installation and try again 原因 SDK版本: 重复安装了JDK ...

  5. Error:A JNI error has occurred,please check your installation and try again

    Error:A JNI error has occurred,please check your installation and try again 该错误多由Java JDK更新安装后导致,相当于 ...

  6. 【Java】Java编译时错误:A JNI error has occurred, please check your installation and try again

    1.问题: 编译时错误:A JNI error has occurred, please check your installation and try again 2.分析: 重复安装了JDK,电脑 ...

  7. Java 报错Error:A JNI error has occurred, please check your installation and try again

    jar运行时报错Error:A JNI error has occurred, please check your installation and try again.  目前我所遇到的有两种可能: ...

  8. JAVA编译报错:A JNI error has occurred, please check your installation and try again

    笔记:JDK版本不一致导致的错误::A JNI error has occurred, please check your installation and try again 今天通过Idea工具实 ...

  9. JAVA--命令行窗口-java运行报错:Error: A JNI error has occurred,please check your installation and try again

    现象: 进行Java程序的编译与运行. 在操作过程中报错,具体为javac编译成功,而java运行报错:如下图: 错误为:Error: A JNI error has occurred,please ...

最新文章

  1. 【机器学习】多项式回归原理介绍
  2. 在IntelliJ IDEA中创建Web项目
  3. ExtJS4.2学习(八)表格限制输入数据的类型
  4. 光敏电阻与光强之间什么关系?
  5. 在Linux系统下查看ora错误
  6. 学习mysql触发器遇到的问题
  7. vue :class 动态绑定样式_Vue 在哪些方面做的比 React 更好?
  8. Kunpeng BoostKit 使能套件:大数据场景如何实现“大鹏一日同风起”倍级性能提升?
  9. 【web前端优化之图片模糊到清晰】看我QQ空间如何显示相片
  10. 2019.3.9笔试
  11. subprocess模块(了解)
  12. 我为什么离开国企,回到互联网内卷?
  13. c语言检测数独是否正确,会数独的大佬请进。这是个判断九宫格数独是否正确的程序。...
  14. java textarea滚动条_java中swing的textArea滚动条显示不出来
  15. edius裁剪快捷键_edius常用快捷键
  16. Zortam Mp3 Media Studio pro 25.40破解版
  17. Mybatis框架源码笔记(一)之编译Mybatis源码和源码调试环境准备
  18. greys在线问题诊断工具
  19. 2020年春分,新的开始
  20. 介绍一款开源的自动驾驶仿真模拟器-Carla

热门文章

  1. VR对房地产行业的影响
  2. 2008 iis7 php mysql_windows2008+iis7+php+mysql+phpmyadmin
  3. 创龙AD+全志T3 TL7606I模块测试
  4. flask-excel进行excel的导出
  5. 微信小程序onShareTimeLine分享朋友圈功能
  6. 亲测-最新独立微信付费进群收费进群系统源码非微擎源码-附带搭建视频教程
  7. 半夜看小说伤眼睛怎么办?
  8. MATLAB编程计算出电动车动力电池串联数、并联数、单体电池总数
  9. 【Python小技巧】将pdf转为txt,并使用edge-tts将txt批量转为MP3(不想看书想听书的转过来,送源代码)
  10. 李航统计学习方法EM算法三枚硬币例子Q函数推导