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

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

错误消息:Error: A JNI error has occurred, please check your installation and try again

Exception in thread “main” java.lang.UnsupportedClassVersionError: JavaVersionChecker 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(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$100(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.net.URLClassLoader1. r u n ( U n k n o w n S o u r c e ) a t j a v a . s e c u r i t y . A c c e s s C o n t r o l l e r . d o P r i v i l e g e d ( N a t i v e M e t h o d ) a t j a v a . n e t . U R L C l a s s L o a d e r . f i n d C l a s s ( U n k n o w n S o u r c e ) a t j a v a . l a n g . C l a s s L o a d e r . l o a d C l a s s ( U n k n o w n S o u r c e ) a t s u n . m i s c . L a u n c h e r 1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher1.run(UnknownSource)atjava.security.AccessController.doPrivileged(NativeMethod)atjava.net.URLClassLoader.findClass(UnknownSource)atjava.lang.ClassLoader.loadClass(UnknownSource)atsun.misc.LauncherAppClassLoader.loadClass(Unknown Source)

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

at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

执行javac -version和java -version,发现返回的版本结果不一样:image.pngimage.png在环境变量设置里把指向jdk 11的设置删除,问题即解决。image.pngimage.pngimage.png

相关文章
|
7月前
|
存储 UED
SAP Hybris Revenue Cloud 和 SAP Subscription Billing 这两个产品的关联
SAP Hybris Revenue Cloud 和 SAP Subscription Billing 这两个产品的关联
50 0
|
7月前
什么是 SAP Hybris 中的 CMSLinkComponent
什么是 SAP Hybris 中的 CMSLinkComponent
43 1
|
7月前
|
Web App开发 开发者
因为 SAP UI5 版本升级引起的问题又一例 - 如何分析问题根源试读版
因为 SAP UI5 版本升级引起的问题又一例 - 如何分析问题根源试读版
45 0
|
7月前
|
自然语言处理 数据可视化
SAP Hybris 中的 CMSNavigationNode
SAP Hybris 中的 CMSNavigationNode
63 1
|
7月前
|
JavaScript 开发工具
SAP UI5 complex parser 只有在 1.26 版本之后才能使用
SAP UI5 complex parser 只有在 1.26 版本之后才能使用
27 0
|
7月前
|
XML JSON JavaScript
SAP UI5 XML 视图在实例化时就已经确定了 BindingSyntax 的实现版本了
SAP UI5 XML 视图在实例化时就已经确定了 BindingSyntax 的实现版本了
29 0
|
7月前
|
JavaScript 前端开发 应用服务中间件
SAP UI5 本地开发时 ui5.yaml 文件对构建 Release 版本应用目录的影响分析试读版
SAP UI5 本地开发时 ui5.yaml 文件对构建 Release 版本应用目录的影响分析试读版
42 1
|
7月前
|
前端开发
SAP Hybris Category 显示在 Storefront 的判定条件
SAP Hybris Category 显示在 Storefront 的判定条件
40 0
|
7月前
|
Web App开发 JavaScript 前端开发
SAP UI5 应用开发教程之四十 - 如何制作包含了 component-preload.js 在内的 SAP UI5 发布版本
SAP UI5 应用开发教程之四十 - 如何制作包含了 component-preload.js 在内的 SAP UI5 发布版本
31 0
|
8月前
|
资源调度
SAP 电商云 Spartacus UI 修改代码后,重新构建基于 SSR 版本的程序报错
SAP 电商云 Spartacus UI 修改代码后,重新构建基于 SSR 版本的程序报错
43 0