[Wine] Re: Not able to Run .exe file returning error

nitheen wineforum-user at winehq.org
Sat May 21 03:01:55 CDT 2011


Hi Vitamin,

Below are the steps i have done as you have asked me to do,

1. DO NOT run Wine as root!

As you had said i have run wine as user (shiva), then i got the output as below

[shiva at localhost Client]$ wine ClientV2_6.exe 
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
Exception in thread "main" java.lang.NoClassDefFoundError
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at java.awt.Toolkit$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
	at javax.swing.ImageIcon.<init>(Unknown Source)
	at javax.swing.ImageIcon.<init>(Unknown Source)
	at br.rmi.client.baseapplication.BrImageFile.makeImageIcon(Unknown Source)
	at br.rmi.client.baseapplication.BrImageFile.createFrameIcon(Unknown Source)
	at br.rmi.clientbaseapplication.LoginThread.<init>(Unknown Source)
	at br.rmi.clientbaseapplication.applicationsecurity.ApplicationSecurityManager.main(Unknown Source)
java.lang.NoClassDefFoundError
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at java.awt.Toolkit$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
	at sun.awt.GlobalCursorManager$CursorEvent.<init>(Unknown Source)
	at sun.awt.GlobalCursorManager.<clinit>(Unknown Source)
	at java.awt.Cursor.initIDs(Native Method)
	at java.awt.Cursor.<clinit>(Unknown Source)
	at java.awt.Window.<init>(Unknown Source)
	at java.awt.Frame.<init>(Unknown Source)
	at java.awt.Frame.<init>(Unknown Source)
	at javax.swing.JFrame.<init>(Unknown Source)
	at br.rmi.clientbaseapplication.BrDialogue$MainFrame.<init>(Unknown Source)
	at br.rmi.clientbaseapplication.BrDialogue.<init>(Unknown Source)
	at br.rmi.clientbaseapplication.BrDiglogThread.run(Unknown Source)
java.lang.ExceptionInInitializerError: java.lang.RuntimeException: 
Unable to create a suitable default GraphicsConfiguration.  Try changing your Display Settings.
	at sun.awt.Win32GraphicsDevice.getDefaultPixID(Native Method)
	at sun.awt.Win32GraphicsDevice.getDefaultConfiguration(Unknown Source)
	at sun.awt.windows.WToolkit.resetGC(Unknown Source)
	at sun.awt.windows.WToolkit.<clinit>(Unknown Source)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Unknown Source)
	at java.awt.Toolkit$2.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
	at javax.swing.ImageIcon.<init>(Unknown Source)
	at javax.swing.ImageIcon.<init>(Unknown Source)
	at br.rmi.client.baseapplication.BrImageFile.makeImageIcon(Unknown Source)
	at br.rmi.client.baseapplication.BrImageFile.<init>(Unknown Source)
	at br.rmi.client.properties.KeyShortCuts.<init>(Unknown Source)
	at br.rmi.clientbaseapplication.BaseApplicationThread.run(Unknown Source)

2. Try in virtual desktop mode.
 
I took ssh to my laptop user like : 

ssh - XY shiva at 192.168.0.62

[shiva at localhost Client]$ wine ClientV2_6.exe 
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
fixme:msvcrt:MSVCRT__sopen : pmode 0x01b6 ignored
err:winediag:X11DRV_WineGL_InitOpenglInfo The Mesa OpenGL driver is using software rendering, most likely your OpenGL drivers haven't been installed correctly
Exception in thread "main" java.lang.NoClassDefFoundError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at java.awt.Toolkit$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
        at javax.swing.ImageIcon.<init>(Unknown Source)
        at javax.swing.ImageIcon.<init>(Unknown Source)
        at br.rmi.client.baseapplication.BrImageFile.makeImageIcon(Unknown Source)
        at br.rmi.client.baseapplication.BrImageFile.createFrameIcon(Unknown Source)
        at br.rmi.clientbaseapplication.LoginThread.<init>(Unknown Source)
        at br.rmi.clientbaseapplication.applicationsecurity.ApplicationSecurityManager.main(Unknown Source)
java.lang.NoClassDefFoundError
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at java.awt.Toolkit$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
        at sun.awt.GlobalCursorManager$CursorEvent.<init>(Unknown Source)
        at sun.awt.GlobalCursorManager.<clinit>(Unknown Source)
        at java.awt.Cursor.initIDs(Native Method)
        at java.awt.Cursor.<clinit>(Unknown Source)
        at java.awt.Window.<init>(Unknown Source)
        at java.awt.Frame.<init>(Unknown Source)
        at java.awt.Frame.<init>(Unknown Source)
        at javax.swing.JFrame.<init>(Unknown Source)
        at br.rmi.clientbaseapplication.BrDialogue$MainFrame.<init>(Unknown Source)
        at br.rmi.clientbaseapplication.BrDialogue.<init>(Unknown Source)
        at br.rmi.clientbaseapplication.BrDiglogThread.run(Unknown Source)
java.lang.ExceptionInInitializerError: java.lang.RuntimeException: 
Unable to create a suitable default GraphicsConfiguration.  Try changing your Display Settings.
        at sun.awt.Win32GraphicsDevice.getDefaultPixID(Native Method)
        at sun.awt.Win32GraphicsDevice.getDefaultConfiguration(Unknown Source)
        at sun.awt.windows.WToolkit.resetGC(Unknown Source)
        at sun.awt.windows.WToolkit.<clinit>(Unknown Source)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Unknown Source)
        at java.awt.Toolkit$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
        at javax.swing.ImageIcon.<init>(Unknown Source)
        at javax.swing.ImageIcon.<init>(Unknown Source)
        at br.rmi.client.baseapplication.BrImageFile.makeImageIcon(Unknown Source)
        at br.rmi.client.baseapplication.BrImageFile.<init>(Unknown Source)
        at br.rmi.client.properties.KeyShortCuts.<init>(Unknown Source)
        at br.rmi.clientbaseapplication.BaseApplicationThread.run(Unknown Source)


Video Card Detials : 

For the command lscpi -v i got following output.

00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 01d4
	Flags: bus master, fast devsel, latency 0, IRQ 16
	Memory at eff00000 (32-bit, non-prefetchable) [size=512K]
	I/O ports at eff8 [size=8]
	Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Memory at efec0000 (32-bit, non-prefetchable) [size=256K]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Kernel driver in use: i915
	Kernel modules: i915

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
	Subsystem: Dell Device 01d4
	Flags: bus master, fast devsel, latency 0
	Memory at eff80000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: [d0] Power Management version 2

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
	Subsystem: Dell Device 01d4
	Flags: bus master, fast devsel, latency 0, IRQ 21
	Memory at efebc000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: [50] Power Management version 2
	Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [130] Root Complex Link
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

For getting information of drivers i did the following

[root at localhost ~]# rpm -qa | grep drv
xorg-x11-drv-wacom-0.10.6-2.fc12.i686
xorg-x11-drv-tdfx-1.4.3-1.fc12.i686
xorg-x11-drv-s3virge-1.10.4-1.fc12.i686
xorg-x11-drv-aiptek-1.3.0-1.fc12.i686
xorg-x11-drv-rendition-4.2.2-4.fc12.i686
xorg-x11-drv-v4l-0.2.0-3.fc12.1.i686
xorg-x11-drv-sis-0.10.2-1.fc12.i686
xorg-x11-drv-siliconmotion-1.7.3-1.fc12.i686
xorg-x11-drv-vmware-10.16.7-2.fc12.i686
xorg-x11-drv-neomagic-1.2.4-2.fc12.i686
xorg-x11-drv-cirrus-1.3.2-1.fc12.i686
xorg-x11-drv-fpit-1.3.0-4.fc12.i686
xorg-x11-drv-penmount-1.4.0-4.fc12.i686
xorg-x11-drv-i740-1.3.2-1.fc12.i686
xorg-x11-drv-glint-1.2.4-1.fc12.i686
xorg-x11-drv-ati-firmware-6.13.0-0.21.20100219gite68d3a389.fc12.i686
xorg-x11-drv-vesa-2.3.0-1.fc12.i686
xorg-x11-drv-keyboard-1.4.0-2.fc12.i686
xorg-x11-drv-evdev-2.3.3-1.fc12.i686
xorg-x11-drv-hyperpen-1.3.0-3.fc12.i686
xorg-x11-drv-ast-0.89.9-1.fc12.i686
xorg-x11-drv-vmmouse-12.6.5-2.fc12.i686
xorg-x11-drv-acecad-1.4.0-1.fc12.i686
xorg-x11-drv-fbdev-0.4.1-1.fc12.i686
xorg-x11-drv-mouse-1.5.0-1.fc12.i686
xorg-x11-drv-trident-1.3.3-1.fc12.i686
xorg-x11-drv-r128-6.8.1-2.fc12.i686
xorg-x11-drv-i128-1.3.3-1.fc12.i686
xorg-x11-drv-sisusb-0.9.3-1.fc12.i686
xorg-x11-drv-ati-6.13.0-0.21.20100219gite68d3a389.fc12.i686
xorg-x11-drv-voodoo-1.2.3-1.fc12.i686
xorg-x11-drv-elographics-1.2.3-4.fc12.i686
xorg-x11-drv-savage-2.3.1-1.fc12.i686
xorg-x11-drv-nouveau-0.0.15-21.20091105gite1c2efd.fc12.i686
xorg-x11-drv-mach64-6.8.2-1.fc12.i686
xorg-x11-drv-openchrome-0.2.904-1.fc12.i686
xorg-x11-drv-dummy-0.3.3-1.fc12.i686
xorg-x11-drv-void-1.3.0-2.fc12.i686
xorg-x11-drv-geode-2.11.4.1-1.fc12.i686
xorg-x11-drv-synaptics-1.2.2-1.fc12.i686
xorg-x11-drv-intel-2.9.1-1.fc12.i686
xorg-x11-drv-nv-2.1.15-2.fc12.i686
xorg-x11-drv-apm-1.2.2-1.fc12.i686
xorg-x11-drv-mga-1.4.11-1.fc12.i686
xorg-x11-drv-mutouch-1.2.1-4.fc12.i686

I am using Fedora 12 & kernel is
2.6.31.5-127.fc12.i686.PAE. 

If any information or troubleshooting steps to be done please let me know.







More information about the wine-users mailing list