similar to: JRuby, JNA, Windows

Displaying 20 results from an estimated 600 matches similar to: "JRuby, JNA, Windows"

2008 Jan 26
0
JRuby version of win32-api - initial try
Hi all, I''ve got a preliminary JRuby version of win32-api checked into CVS at the moment under win32-api/lib/win32/api.rb. I''ve also pasted it below. It doesn''t quite work right in that I can''t get it to modify the arguments in place in the API#call method. Take a look at the sample code at the very bottom to see what I mean. I haven''t even tried
2010 Sep 09
1
Remote access form windows - Java bindings
Hi I am developing tool to collect information on XenServer which is on Opensuse 11. I am using libvirt-0.4.6.jar and and jna-3.2.4 jar files. I tried to connect from Remote system(Windows) to server, but could not get the connection object. Any configuration needs to be done for remote access ? conn = new Connect("xen+tcp://192.168.10.22/"); it shows the exception Exception in
2011 Mar 14
1
Beware! Newbie is in town
Hello everyone, I'm working on Ubuntu 10.10, installed libvirt and created a project in Netbeans, I included jna.jar and libvirt-0.4.7.jar. And guess what, I get the exception below when I'm trying to run test.java which connects to test:///default. Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load library 'virt': libvirt.so: cannot open shared
2012 Aug 21
0
Using Libvirt Java Bindings on Windows 7 64bit
Hi All, Has anybody had any managed to use the libvirt java bindings on Windows 7 64bit (or similar configuration)? I am using Java 6. When I try to use the Test.class delivered with the bindings it always fails with the following error: C:\Users\fwilson\Desktop\libvirt-java-0.4.7>java "-Djna.library.path=C:/Program Files (x86)/Libvirt/lib/" -classpath .;target/classes;jars/* Test
2011 Dec 23
0
Libvirt java from Windows
I am writing a java based client that would be executed from windows that will use libvirt. 1. Got libvirt-java ( http://libvirt.org/sources/java/libvirt-java-0.4.7.tar.gz) and build a jar out it (ant with no params) 2. Then, according to http://libvirt.org/windows.html, built a dll using the "MSYS build script" 3. Got 2 files libvirt-0.dll and libqemu-0.dll When I
2013 Apr 29
1
Java client error on Windows 7 64 bit for Libvirt on KVM
Hi, I need some help in building a Java client on Windows 7 64 bit plaftorm to manage a KVM using the libvirt APIs. Using the instructions at http://libvirt.org/java.html, i was able to build libvirt.jar. My understanding is that libvirt.jar uses JNA to call libvirt's native windows library. I tried using the libvirt dlls in the experimental Windows installation package mentioned in
2017 Nov 22
0
libFLAC JNA Issue
Hello, I hope this is the right place for this kind of question. As developper, i'm actually writing java interface to use libFLAC with JNA, to reproduce "flac -t" function, needed to validate/unvalidate flac files before sending them in our preservation system. . Everything is working fine between java and libFLAC.so. Callback are called, C API is smart with void* client_data
2010 Jun 17
1
java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/linux-i386/libjnidispatch.so) not found in resource path
Hi everybody, I'm trying to run the sample of the site, but is not working. In fact, already includes jna.jar in my class path, see. What can it be? -- Rafael Braga -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20100617/5c8e1120/attachment.htm> -------------- next part -------------- A
2008 Jan 23
6
JRuby and callbacks?
Hi all, Any Java/JRuby folks on the list? I''d like to see if we can implement api.c for JRuby using JNA and see how it handles the callbacks. I''m not a Java guy, nor do I know JNA, but I''ll take a stab at it if no one else on the list does. Here are a couple of useful links: http://www.infoq.com/news/2007/09/jna-jruby https://jna.dev.java.net/ Regards, Dan This
2008 Dec 18
5
EverQuest - worked once, but no more
I had a previous install on another computer with the following, and EQ worked perfectly there, with the following configuration: Laptop: HP dv6355 Graphics: NVIDIA GeForce Go 6150 (UMA) Processor: AMD Turion 64 X2 (1.8 GHz) Memory: 2 GB OS: Ubuntu 8.04 Wine: 1.1.4 Unfortunately, the computer was formatted and given to someone else, so I can no longer compare the configurations or run any tests
2016 Jun 09
0
Java Application on 64bit Windows
Hi, I am trying to develop a Java application with libvirt 0.5.1. I am trying this on Windows7 64bit. I downladed libvirt-0.5.1.jar and jna.jar files and added them to the Buildpath. Then I installed VirtViewer for windows 64 bit and copied dll files. In my application if i only use System.setProperty("jna.library.path", PATH_TO_DLL); then i see "UnsatisfiedLinkError: Unable to
2011 May 27
2
[OS X] How to link kernel32.lib.so with OS X XCode project?
Hi Please tell me how can I use parts of WINE / WineLib (mainly Kernel32 library implementation) in Mac OS XCode projects? I tried to link kernel32.lib.so with a test application, which used one of the Kernel32 functions - GetCurrentDirectoryA(), but got a linker error, which was not able to resolve this function :? The most puzzling thing is that if I run otool on Kernel32.lib.so, it says the
2014 Mar 10
0
Mongoid : bson namespace error
Hello All, I had been trying to work on Rails 4 and Mongoid gem. The following are the versions I had installed: bson-2.2.1 mongoid-3.1.6 After installing and trying to run "rails generate" command. It is failing with NameSpace error for BSON::ByteBuffer. It is trying to connect to mongodb server initially and getting successful. Post that it is failing with the following
2008 Jan 31
2
viewing a subset of folders in dumb IMAP clients
I have several dozen IMAP folders (stored as Maildir++). When I'm on the go with my iPhone, I only want to see a few of them. My naive solution that didn't work: 1) create an alternate login that yields my existing permissions and mail folder, but stores its own version of metadata 2) configure the iPhone to use that login 3) subscribe to the folders I want I test-drove the
2019 Apr 18
0
Re: [libvirt] JVM crashes during GC
I am attaching the execution results. At the top of each file I have mentioned the environment details. Following is the test program I have used: ================================================== *package* org.libvirt; *import* org.libvirt.jna.Libvirt; *public* *class* LibvirtCrashTest { *void* createAndDestroyDefaultAuthConnection() { ConnectAuth ca = *new* ConnectAuthDefault(); *try*
2019 Apr 18
0
Re: [libvirt] JVM crashes during GC
I have tried the same tests using the "test" driver, and that works perfectly; no errors seen. Thanks & Regards Sachin Soman On Thu, Apr 18, 2019 at 11:03 PM Daniel P. Berrangé <berrange@redhat.com> wrote: > On Thu, Apr 18, 2019 at 10:46:19PM +0530, Sachin Soman wrote: > > I am attaching the execution results. At the top of each file I have > > mentioned
2009 Aug 05
2
using ddply but preserving some of the outside data
I have a bit of a quandy. I'm working with a data set for which I have sampled sites at a variety of dates. I want to use this data, and get a running average of the sampled values for the current and previous date. I originally thought something like ddply would be ideal for this, however, I cannot break up my data by date, and then apply a function that requires information
2008 Jun 02
2
Problemas usando jri0.4-1 y R 2.7.0
Hola, es la primera vez que mando un correo a cualquiera de las listas de correo de R y no se si esta consulta se ajusta al próposito de la r-help list o debería haberlo mandado a otra de las listas que hay. Mi problema es el siguiente: Estoy desarrollando un programa en java con llamadas a R y no puedo usar jri 0.4-1 con la version 2.7 o 2.6 de R. Curiosamente si me funciona si uso jri 0.4 o la
2019 Apr 23
0
Re: [libvirt] JVM crashes during GC
[Update] Instead of passing an auth callback to Connect, if I store the credentials in an INI file and pass the file path as authfile URI parameter, I dont see these errors. Thanks & Regards Sachin Soman On Sat, Apr 20, 2019 at 2:00 PM Sachin Soman <sachonline.soman@gmail.com> wrote: > Did you get a chance to debug the issue? > > Thanks & Regards, > Sachin Soman
2019 Apr 18
1
Re: [libvirt] JVM crashes during GC
Note: A couple of times I have seen errors while closing the connection (the trace ending with virFree). Also, a few times I have seen backtraces which show the flow going via esx driver and finally failing to close connection. Unfortunately I dont have those logs anymore. The execution results I have shared have been obtained using Libvirt built from source using the following config parameters: