Java doesn’t like 3D support in Virtual Box

A few days ago, I had issues installing ElasticPath on my Windows VMs : the installer’s window never showed up. At first, I suspected that the installer was simply not compatible withVirtualBox.

But things started to become really strange when I tried to debug the Java process launched by the installer (which was eating all CPU time) with Visual VM or JConsole. Both tools were unable to start.

After a quick search on Virtualbox bug tracker, here is the answer :

Any Java Swing/AWT application will crash if 3d support was selected in Virtualbox guest additions. (Virtualbox 3.2.X and Only on JVM > 1.6u6)

See this bug report for details :