我是arduino的新手,正在尝试安装IDE。32位和64位版本的Linux arduino IDE都失败了。谢谢!
jay@jay-desktop $ bash arduino
Picked up JAVA_TOOL_OPTIONS:
Exception in thread "main" java.lang.UnsupportedClassVersionError: processing/app/Base : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
爪哇信息
jay@jay-desktop $ javac -version
javac 1.7.0_95
jay@jay-desktop $ java -version
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
听起来您正在尝试在Java 1.7上运行已针对Java 1.8编译的IDE版本。将java升级到1.8应该可以修复它。