On 09/14/2012 06:46 AM, KAWAI Hiroaki wrote:
Hi,
I found one problem with libvirt-java 0.4.9 jar file.
Currently, we're targeting java 1.6.0, but that libvirt
java 0.4.9 class files were compiled with 1.7.0.
That cause agent program halt with UnsupportedClassVersionError
: Unsupported major.minor version 51.0
One solution on CentOS 6.3, I've found was installing
java-1.7.0-openjdk on the agent KVM machine.
# add dependency in cloud.spec...?
Thanks for pointing this out! I'm running into the same on Ubuntu 12.04
I'll ask the libvirt guys if they can compile it with Java 6 instead of 7.
It was build yesterday on a Fedora laptop, which is running Java 7 already.
Wido
(2012/09/13 21:31), Wido den Hollander wrote:
Hi all,
Good news! libvirt-java 0.4.9 just got released and has been relicensed
to the MIT[0] license.
This should clear any legal issues we had with the libvirt-java bindings.
The maven repo [1] on libvirt.org has been updated and I'm working with
the libvirt guys to make sure it also hits the central maven repo, but
that's not working yet.
IANAL, but this should clear everything, correct?
Wido
[0]: http://en.wikipedia.org/wiki/MIT_License
[1]: http://www.libvirt.org/maven2/org/libvirt/libvirt/0.4.9/