I recently installed fresh Linux Mint 10 and VirtualBox 4.0.6 on my computer. I tried to program with the Java API provided in the package (vboxjxpcom.jar) and do some VM automation. However, I have problem when I call IConsole.powerup(). The error message says
Code: Select all
VirtualBox kernel driver not accessible, permission problem. Re-install VirtualBox. If you are building it yourself, you should make sure it installed correctly and that the setuid bit is set on the executables calling VMR3Create. (VERR_VM_DRIVER_NOT_ACCESSIBLE)
I am aware that there's plenty of workaround I can do to avoid this problem like using python instead of Java or calling the VBoxManage inside the Java program. I am just wondering if I did something wrong to cause this problem. If anyone can point any direction to look into it will be very appreciated.