I'm trying to run SPSS 17 and it seems to work okay except for the fact that the window looks blank unless I "refresh" individual widgets by clicking on them, sometimes mousing over. I have figured out this has to do with disabling DirectDraw because if I run an individual .jar like licenseactivator.jar with the command
Code: Select all
wine JRE/bin/java -Dsun.java2d.noddraw=true -jar licenseactivator.jar
it works fine and the "blankness" problem goes away. As you can tell, I'm using the JRE included with SPSS (1.5.0_14-b03). I have added the "-Dsun.java2d.noddraw=true" parameter to the "Java Runtime Parameters" under the "Java Applet Runtime Settings" in the control panel (by running "wine javacpl.exe" in the JRE/bin folder inside the SPSS install). I tried doing the same under the "Java Application Runtime Settings" but clicking "View" there always freezes the control panel and I can't go further.
I would love it if someone knows how to disable DirectDraw whenever this JRE is used. I guess there are other ways of solving this problem. If SPSS simply had some .jar I could run to get the "main program", I could simply create a launcher that uses the parameter when running java. Alternately if there was a way to get X11 to draw this properly anyway, or to get wine force the JRE to not use DirectDraw. I've even been thinking about writing my own "java.exe" and "javaw.exe" that simply call the original executables and pass the arguments they get plus the "-Dsun.java2d.noddraw=true" parameter.
Any ideas? Thanks for any help.