java.lang.UnsupportedClassVersionError: org/apache/felix/fileinstall/internal/FileInstall : Unsupported major.minor version 51.0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by ERJAN

This exception occurs when using an older version of java. Mainly when trying to run a jar compiled with a newer Java version in an older Java version. We can avoid this issue by executing the jar in the same version which it was compiled.

,
via Google Groups by Marcus Haebler

Update "latest" to Java 8 on DockerHub.

Solutions on the web

via nabble.com by Unknown author, 1 year ago
org/apache/felix/fileinstall/internal/FileInstall : Unsupported major.minor version 51.0
via GitHub by tdudgeon
, 2 years ago
org/jboss/gravia/runtime/osgi/internal/OSGiRuntimeActivator : Unsupported major.minor version 51.0
via knowcoding.com by Unknown author, 2 years ago
via knowcoding.com by Unknown author, 2 years ago
HelloWorld : Unsupported major.minor version 51.0
via knowcoding.com by Unknown author, 2 years ago
client : Unsupported major.minor version 51.0
via knowcoding.com by Unknown author, 2 years ago
applet1 : Unsupported major.minor version 51.0
java.lang.UnsupportedClassVersionError: org/apache/felix/fileinstall/internal/FileInstall : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2279)
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501)
at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at org.apache.felix.framework.BundleWiringImpl.getClassByDelegation(BundleWiringImpl.java:1374)
at org.apache.felix.framework.Felix.createBundleActivator(Felix.java:4329)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2141)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2064)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1291)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
at java.lang.Thread.run(Thread.java:662)

Users with the same issue

19 times, 1 week ago
Once, 2 weeks ago
5 times, 1 month ago
Once, 2 months ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.