VM Computers

VM Computers

156k Downloads

Not connecting to VirtualBox

SixTfour opened this issue ยท 6 comments

commented

OS: Ubuntu 20.04
MCVmComputers Version: 1.2.0
VirtualBoxVersion: 6.1.8

Minecraft is getting hung up on the setup screen saying "All values valid. Attempting to start VirtualBox." It looks like it creates an instance at localhost:18083, but never actually connects.

VirtualBoxManager vm = VirtualBoxManager.createInstance(null);
vm.connect("http://localhost:18083", "should", "work");
IVirtualBox vb = vm.getVBox();
for(int i = 5;i>=0;i--) {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
status = COLOR_CHAR + "aVirtualBox " + vb.getVersion() + " works!\n\n"+"Minecraft will start in " + i + " seconds.";
}
MCVmComputersMod.vbManager = vm;
MCVmComputersMod.vb = vb;
minecraft.openScreen(new TitleScreen());
return;

commented

I don't have a clue what could be causing this.

commented

Can you reproduce the bug and upload the log file?

commented

Same issue here, on Manjaro.
latest.log

commented

Switching to Java 8 fixed this for me. I was using Java 11.

I'd add it to the read me, otherwise I think you might need to add some dependencies to fix this.

commented

How did you make it work? Im having the same issue here

commented

On curseforge the mod is listed as Java 8 only, @carleuca and you need to install Java 8.