Hi all First of all, I am a new wine user, so I apologize for my lack of knowledge. I have kubuntu 11.10 and I have to install a software developped only for windows XP or lower windows version, which uses oracle9i client (it seems it can not work with more recent version). This software has been developped by few people, and no help is available. I have a dual boot with widows seven but the installing CD is not working on seven. So I tried to use wine to install the software. I have wine 1.2.3 (I want to use it as win XP), then I downloaded sun java for windows and I installed it using wine. It seems i worked well (wine java -version returns java version "1.6.0_23"). Then I from y CD I tried to run the setup.exe which is supposed to install Oracle9i client. But it did not install anything and stopped rigth away wit the following errors: Exception in thread "main" 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 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 oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:593) I also tried "wine setup.exe -J-Dsun.java2d.noddraw=true" in the terminal, but it didnot work as well. Does anyone have any idea to resolve this issue? I did some research on this site and with google, but I didnot find any solution. Thanks in advance for your help!
On Tue, Dec 20, 2011 at 7:13 AM, sybi <wineforum-user at winehq.org> wrote:> Hi all > > First of all, I am a new wine user, so I apologize for my lack of knowledge. I have kubuntu 11.10 and I have to install a software developped only for windows XP or lower windows version, which uses oracle9i client (it seems it can not work with more recent version). This software has been developped by few people, and no help is available. I have a dual boot with widows seven but the installing CD is not working on seven. > > So I tried to use wine to install the software. I have wine 1.2.3 (I want to use it as win XP), then I downloaded sun java for windows and I installed it using wine. It seems i worked well (wine java -version returns java version "1.6.0_23"). Then I from y CD I tried to run the setup.exe which is supposed to install Oracle9i client. But it did not install anything and stopped rigth away wit the following errors: > > Exception in thread "main" java.lang.ExceptionInInitializerError: java.lang.RuntimeException: > Unable to create a suitable default GraphicsConfiguration. ?Try changing your Display Settings.The installer is looking for a XWindows session. Are you using the Windows Oracle installer? James
Hi James, Thank you for your reply.> The installer is looking for a XWindows session. Are you using the > Windows Oracle installer?Yes, I am using the Windows Oracle Universal Installer. Do I need some specific settings in wine to use it? Sylvain
On Tue, Dec 20, 2011 at 9:16 AM, sybi <wineforum-user at winehq.org> wrote:> Hi James, > > Thank you for your reply. > >> The installer is looking for a XWindows session. Are you using the >> Windows Oracle installer? > > Yes, I am using the Windows Oracle Universal Installer. Do I need some specific settings in wine to use it? >Did you install Java into the SAME Wine prefix before trying to run the Oracle Installer? James
> Did you install Java into the SAME Wine prefix before trying to run > the Oracle Installer?I am not sure I understand your question. I installed Java in my ~/.wine/dirve_c/ directory. Of course, it is declared as the C: drive in winecfg. I also delcared the install CD-Rom directory in the driver tab. I have also downloaded the Oracle 9i Client setup files from the oracle website. I could try to install it in the ~/.wine/dirve_c/ rather than using the one on the CD. However, I will still have to use the CD to install the software that I am interested in (which need Oracle9i) and I am guessing the same issue will happen again. Sylvain
Does export J2D_D3D=false help?
> Does > export J2D_D3D=false > help?I have done: export J2D_D3D=false; wine setup.exe but I got the same errors
> Is it possible to start over and use Java 1.5/5 ?I started over with different Java 1.5 updates: 1.5.0 1.5.0_10 1.5.0_19 1.5.0_22 But I still got the same errors. Surprisingly, I have the same errors with and without java. I am wondering if I did not missed anything in wine configuration. Yet, when I install a java version, the command wine java -version gives the correct java version. And when I remove java, the same command line returns wine: cannot find L"C:\\windows\\system32\\java.exe", which seems logical. In the wine configuration panel, the virtual desktop is activated.