小编Dil*_*ima的帖子

如何在AWS EMR集群中使用java运行时11

我在 EMR aws 中造成混乱,当 Spark 运行我的应用程序时,我收到以下错误:

Exception in thread "main" java.lang.UnsupportedClassVersionError: 
com/example/demodriver/MyClassFromJAR 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
Run Code Online (Sandbox Code Playgroud)

emr-6.5.0在集群上使用releaseLabel,我的驱动程序jar是用java11构建的

如何在EMR中运行java11应用程序?或者这个错误与其他原因有关?

java amazon-emr apache-spark java-11

6
推荐指数
1
解决办法
7693
查看次数

标签 统计

amazon-emr ×1

apache-spark ×1

java ×1

java-11 ×1