VirtualBox

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 misha)

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)

VBox.log.javabad (73.3 KB ) - added by davidwhodgins 14 years ago.
Log with direct 3d, where java loops
VBox.log.javaok (73.5 KB ) - added by davidwhodgins 14 years ago.
Log without direct 3d, where java is ok.

Download all attachments as: .zip

Change History (10)

comment:1 by Frank Mehnert, 14 years ago

A VBox.log file of such a VM session is appreciated.

by davidwhodgins, 14 years ago

Attachment: VBox.log.javabad added

Log with direct 3d, where java loops

by davidwhodgins, 14 years ago

Attachment: VBox.log.javaok added

Log without direct 3d, where java is ok.

comment:2 by davidwhodgins, 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 Frank Mehnert, 14 years ago

Component: other3D support
Summary: Cannot run java in xp guest on linux host, after installing 3.2-3.2.2_62298Cannot 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 Nicolas Richeton, 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 Martin Kalén, 13 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

comment:6 by Alan Burlison, 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.

in reply to:  6 comment:7 by misha, 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 aeichner, 8 years ago

Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use