Vscode error a JNI error has occurred, please check your installation and try again

发布于2022-05-06 16:41:17阅读 7470

问题

IDEA运行Flink程序时报错,程序本身没有问题。 Error: A JNI error has occurred, please check your installation and try again

解决方案:

检查Maven版本,JDK版本,使用的编译版本,发现没有错误。

点击【Run】→【Edit Configurations】→【Modify options】→勾选【Include dependencies with “Provided” scope】

本文分享自作者个人站点/博客:https://blog.csdn.net/uniquewonderq复制

如有侵权,请联系 删除。

相关文章

  • 执行SAP Hybris install.bat遇到JavaVersionChecker版本检测失败的问题

    AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unk...

  • VScode 配置 Java 开发环境 (VSCode 天下第一!!!!!)

    方式一: windows平台下可以直接访问这个地址 直接下载带有 java插件的 vscode 方式二: 在vscode中下载以下插件

  • windows 10 install oracle 12c error:[ INS-30131 ]

    Oracle Database – Standard Edition – Version 11.2.0.1 and later Oracle Universa...

  • 使用Adobe lifecycle Enterprise Service将word文档转换成PDF

    Currently I am working on a customer project regarding the usage of SAP document...

  • PyCharm在Linux安装出现报错-Java Runtime (class file version 55.0)

  • Error code of Media server (MediaPlayer内核异常码说明)

  • 更快 Maven 来袭,性能大幅提升!

    相信作为Java开发者的你早已经受够了maven的编译缓慢,但是又由于历史包袱、使用习惯等问题暂时切换不了其他更快的构建工具,这里笔者将给你介绍一款更快的mav...

  • 更快 Maven 来袭,性能大幅提升!

    相信作为Java开发者的你早已经受够了maven的编译缓慢,但是又由于历史包袱、使用习惯等问题暂时切换不了其他更快的构建工具,这里笔者将给你介绍一款更快的mav...

  • 干掉Maven和Gradle!新一代更强更快的构建工具,炸裂!

    相信作为Java开发者的你早已经受够了maven的编译缓慢,但是又由于历史包袱、使用习惯等问题暂时切换不了其他更快的构建工具,这里笔者将给你介绍一款更快的mav...

  • 干掉Maven和Gradle!新一代更强更快的构建工具,炸裂!

    相信作为Java开发者的你早已经受够了maven的编译缓慢,但是又由于历史包袱、使用习惯等问题暂时切换不了其他更快的构建工具,这里笔者将给你介绍一款更快的mav...

  • SAP Spartacus i18n的文本

  • Runtime Errors - START_CALL_SICK

    |Short Text ...

  • Maven官宣:干掉Maven和Gradle!推出更强更快更牛逼的新一代构建工具,炸裂!

    点击上方“芋道源码”,选择“设为星标” 管她前浪,还是后浪? 能浪的浪,才是好浪! 每天 10:33 更新文章,每天掉亿点点头发... 源码精品专栏 原创 |...

  • Manjaro记录

    原因在于本地数据库 core.db, extra.db, community.db 中的软件包信息已经与服务器上的不一致, 主要是软件包的版本不一致导致的. 一...

  • Ubuntu_ROS中应用kinect v2笔记

    http://www.ros.org/news/2014/09/microsoft-kinect-v2-driver-released.html

  • IBase component cannot be created and deleted in the same second

    相关的corrective measure是1612172 (2012) 对应的ticket是0120031469 0001427502 2012 rega...

  • Linux (Centos) Python compile and install Dameng driver dmPython

    dmPython is a database access interface developed by DM based on the API usage r...

  • PHP 常见安装错误configure error xml2-config not found. please check your libxml2 installation

    configure error xml2-config not found. please check your libxml2 installation se...

  • 译文:Nginx多阶段处理HTTP请求

    原文:http://www.nginxguts.com/2011/01/phases/

on a windows 10 based VM, have installed Java on C:

C:\ords>java -version java version "1.8.0_261" Java(TM) SE Runtime Environment (build 1.8.0_261-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)

and Oracle DB 21c XE, Oracle Apex 22.1, now i am trying to install ORDS but it is showing error:

c:\ords\javar -jar ords.war install Error: A JNI error has occurred, please check your installation and try again Exception in thread "main" java.lang.UnsupportedClassVersionError: oracle/dbtools/launcher/executable/jar/ExecutableJarEntrypoint 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     at java.lang.ClassLoader.defineClass1(Native Method)     at java.lang.ClassLoader.defineClass(ClassLoader.java:756)     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)     at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)     at java.net.URLClassLoader.access$100(URLClassLoader.java:74)     at java.net.URLClassLoader$1.run(URLClassLoader.java:369)     at java.net.URLClassLoader$1.run(URLClassLoader.java:363)     at java.security.AccessController.doPrivileged(Native Method)     at java.net.URLClassLoader.findClass(URLClassLoader.java:362)     at java.lang.ClassLoader.loadClass(ClassLoader.java:418)     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)     at java.lang.ClassLoader.loadClass(ClassLoader.java:351)     at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)

i have set path to my jdk installation folder

C:\Java\jdk1.8.0_261\bin

what i am doing wrong or missing something? please help.

regards

How do you fix a JNI error has occurred Please check your installation?

This a JNI error has occurred Minecraft server error occurs when you try to start Minecraft or a Minecraft server on a PC that does not have the latest version installed. To fix this, you just need to update your current Java to the latest version.

How do I fix error a JNI error has occurred?

Fix JNI Error in Minecraft (2022).
Update And Install Latest Java Version (Windows, Mac, and Linux).
Reset Java Path to Fix Minecraft JNI Error (Windows Only).
Install Java on Linux to Fix Minecraft Errors..
Uninstall Old Versions of Java on Your PC (Optional).