Re: Java bindings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think that any 1.5.0 or later java will do, but the specific packages I use are:

java-1.5.0-sun-1.5.0.10-2jpp
java-1.5.0-sun-devel-1.5.0.10-2jpp
java-1.5.0-sun-src-1.5.0.10-2jpp
java-1.5.0-sun-fonts-1.5.0.10-2jpp
java-1.5.0-sun-alsa-1.5.0.10-2jpp
java-1.5.0-sun-demo-1.5.0.10-2jpp

These are built from the http://mirrors.dotsrc.org/jpackage/1.7/generic/non-free/SRPMS/java-1.5.0-sun-1.5.0.12-1jpp.nosrc.rpm (well, actually from 1.5.10, but that's no longer available) package and the jdk-1.5.0 available from java.sun.com.

However, you are better off just installing the sun java rpm from java.sun.com and the http://mirrors.dotsrc.org/jpackage/1.7/generic/non-free/SRPMS/java-1.5.0-sun-compat-1.5.0.12-1jpp.src.rpm compat rpm.
Takes about 1/3 the time.

Everything else is stock FC7, including th libvirt libraries and includes:

libvirt-devel-0.3.2-1.fc7
libvirt-0.3.2-1.fc7
libvirt-devel-0.3.2-1.fc7
libvirt-python-0.3.2-1.fc7
libvirt-0.3.2-1.fc7

regards
István

Daniel Veillard wrote:
On Wed, Sep 12, 2007 at 08:37:33PM +0200, Tóth István wrote:
Hello!

A development version of the java bindings I've been working on are available at :

http://tiger.3ginformatika.hu/java-libvirt.tgz

Excellent, I'm just not able to look at it right now, I will try to review it over the week-end !

I'd appreciate your feedback on it.

Building:
Have java/gcc set up correctly through alternatives ( I use jpackage sun java 1.5.0 on Fedora 7 x86_64)

  Would you mind posting the list of RPMs you are using so I'm sure I can
reproduce your testing when I'm back home ?

Fix the include path in jni/Makefile
run build.sh
You should have the .so and .jar files built, and see the output from the basic test program.

Using: See the test in build.sh

Note:

It's meant to be a thin translation layer on top of libvirt.
The object model is similar to the python one.
All error handling is done exclusively through exceptions.
No documentation yet, but It's pretty self-explanatory.
The build system is very primitive, I just hacked together something to build it outside my eclipse devel environment.
The bindings are pretty complete, but minimally tested.
License is LGPL.

  Sounds very good, I will look when I'm back,

    thanks a lot !

Daniel


--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]