cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sheng Yang <>
Subject Template for Java 7 in Master branch
Date Sat, 08 Feb 2014 01:10:08 GMT
Got this error with 4.3 template:

Exception in thread "main" java.lang.UnsupportedClassVersionError:
com/cloud/agent/AgentShell : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(
        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(

I am using Java 7 when compiling(due to following commit), and I guess the
above error due to all of our templates using java 6.

commit 49a29ce0cfe0fca535037d0d7e15e399e76ea49f
Author: Wido den Hollander <>
Date:   Mon Jan 27 10:03:39 2014 +0100

    Switch to Java 7

    We now require at least Java 7 to build and run CloudStack.

    Both the DEB and RPM packaging now also require Java 7 during
    of the packages.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message