Accessing vboxjxpcom at Windows host

Discussion about using the VirtualBox API, Tutorials, Samples.
Post Reply
Skalden
Posts: 9
Joined: 18. Sep 2015, 07:49

Accessing vboxjxpcom at Windows host

Post by Skalden »

Hey there,

I'm trying to get the vboxjxpcom.jar running under Windows. In Linux it works fine. You have your install dir, where the libcboxjycom.so is, you just add the install-dir to the vm-parameters and it works fine. But under windows there is no such a thing. no *.exe or anythang that can be used as executable. Therefore i can't get it running in windows.

Kind regards
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Accessing vboxjxpcom at Windows host

Post by noteirak »

That is because it can only be used under Linux.
Under Windows you have in theory two choices: WebServices or MSCOM bindings.
In practice, you have only one: WebServices; MSCOM bindings are broken at the moment and simply don't work.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Skalden
Posts: 9
Joined: 18. Sep 2015, 07:49

Re: Accessing vboxjxpcom at Windows host

Post by Skalden »

noteirak wrote:In practice, you have only one: WebServices; MSCOM bindings are broken at the moment and simply don't work.
Do they work under Linux, too?
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Accessing vboxjxpcom at Windows host

Post by noteirak »

WebServices yes, MSCOM no.
XPCOM & MSCOM use native libraries, so they are platform dependent: MSCOM on Windows, XPCOM on the others.
WebServices is platform independant and requires using vboxwebsrv. All this is describe in the SDK PDF.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply