If you are on IntelliJ IDEA, I'm not sure about Eclipse. OSX has this app called "Java Preferences.app" that changes the system /usr/bin/java so that it points to which VM you want, so when you type "java -version" from the command line, you'll get the appropriate VM. That is, if you select 32-bit, it will have -d32 added implicitly. However, IntelliJ doesn't launch the VM via symbolic links in the path, it goes directly to /System/Library/Frameworks/JavaVM.Framework, so you must add -d32 as a VM parameter in the launch config. One other effect of -d32 is that it appears to force the client VM, whereas -d64 is the server VM.
-Ray On Thu, Sep 3, 2009 at 12:25 PM, Rajeev Dayal <[email protected]> wrote: > @Ray: To clarify, you need to add -d32 to the launch config though, right? > > > On Thu, Sep 3, 2009 at 3:22 PM, <[email protected]> wrote: > >> >> On 2009/09/03 19:07:53, knorton wrote: >> > Ray, >> >> > Can you confirm that this patch fixes the Snow Leopard issue. It's the >> same >> > patch as before with the typo fixed and the error message slightly >> expanded. >> >> Works on Snow Leopard with IntelliJ as launcher against GWT 2.0 trunk. >> LGTM. >> >> http://gwt-code-reviews.appspot.com/64805 >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---
