Opened 14 years ago
Closed 8 years ago
#6873 closed defect (obsolete)
Cannot run Java in XP guest if Direct 3D guest drivers are installed
Reported by: | davidwhodgins | Owned by: | |
---|---|---|---|
Component: | 3D support | Version: | VirtualBox 3.2.2 |
Keywords: | java | Cc: | |
Guest type: | Windows | Host type: | Linux |
Description (last modified by )
Attempting to run java either as an applet in a browser, or selecting the java control panel entry results in java starting, using all available cpu, but never responding. The gui for the control panel java item does not display. Process explorer shows java taking all available cpu.
I've fallen back to VirtualBox-3.2-3.2.0_61806_mdv2009.1-1.i586.rpm where java works ok.
Attachments (2)
Change History (10)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
Further testing shows the problem only happens if direct 3d is selected when installing the guest additions.
Fixing it requires uninstalling the guest additions, and then reinstalling, without selecting the direct 3d option. Reinstalling over the existing install doesn't fix it.
comment:3 by , 14 years ago
Component: | other → 3D support |
---|---|
Summary: | Cannot run java in xp guest on linux host, after installing 3.2-3.2.2_62298 → Cannot run Java in XP guest if Direct 3D guest drivers are installed |
Still relevant with VBox 3.2.6 (including 3.2.6 additions)?
comment:4 by , 14 years ago
I can confirm this issue with VBox 3.2.8.
With 3d support in additions:
- Java 1.6u21 takes 100% of CPU time when AWT is in use (but Eclipse/SWT works)
- Java 1.6u06 works with AWT applications
Uninstalling additions and reinstalling without 3d support
- Java 1.6u21 works with AWT applications
System : OSX 10.6.4 Guest : Windows XP SP3
comment:5 by , 14 years ago
Confirmed with VirtualBox 3.2.12 r68302 on Ubuntu 10.10 with Windows XP guest.
Tried the following work-around that did NOT work: Uninstall Java, uninstall VirtualBox Guest Additions, reboot into safe mode, install VirtualBox Guest Additions with Direct 3D acceleration, install Java.
The following work-around (turn off Direct 3D support completely in Java) does "work" but does not really solve the problem: set environment variable J2D_D3D to value false. Confirmed with Oracle JRE 6u23.
Source for workaround: http://forums.virtualbox.org/viewtopic.php?t=27543#p163600
follow-up: 7 comment:6 by , 12 years ago
Still broken in VB 4.1.14, WinXP & Java 6_32 on Solaris 11. Tried all the usual workarounds - uninstall in safe mode, reinstall etc etc - the only one that works is the J2D_D3D.
comment:7 by , 12 years ago
Description: | modified (diff) |
---|
Replying to alanbur:
Still broken in VB 4.1.14, WinXP & Java 6_32 on Solaris 11.
When you install 4.1.14 Guest Additions, does the installer displays some warning dialog about corrupted D3D files?
If yes, then this is the cause of your trouble, you should fix that following instructions in http://www.virtualbox.org/manual/ch12.html#ts_d3d8-d3d9-restore
comment:8 by , 8 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Please reopen if still relevant with a recent VirtualBox release.
A VBox.log file of such a VM session is appreciated.