This is soooo embarrassing... Basically I compiled GWT and then pointed my GWT library in Eclipse to `build/lib` which doesn't include the native library libgwt-ll.jnilib. I discovered this via John's suggestion of printing the exception thrown in LowLevelSaf.java:
Your GWT installation may be corrupt at com.google.gwt.dev.shell.LowLevel.init(LowLevel.java:106) at com.google.gwt.dev.shell.mac.LowLevelSaf.init(LowLevelSaf.java:135) at com.google.gwt.dev.BootStrapPlatform.initHostedMode(BootStrapPlatform.java:77) at com.google.gwt.dev.HostedModeBase.<init>(HostedModeBase.java:368) at com.google.gwt.dev.SwtHostedModeBase.<init>(SwtHostedModeBase.java:161) at com.google.gwt.dev.HostedMode.<init>(HostedMode.java:282) at com.google.gwt.dev.HostedMode.main(HostedMode.java:241) java.lang.UnsatisfiedLinkError: Unable to load required native library 'gwt-ll'. Detailed error: Can't load library: /Users/eighty/Java/GWT/trunk/build/lib/libgwt-ll.jnilib) The solution, of course, is pointing the GWT library in Eclipse to `build/staging/gwt-mac-0.0.0` instead. I guess this might be a +1 for the comment on line 137 of LowLevelSaf.java? // Try to provide some additional context :} Thanks! On Tue, Jul 7, 2009 at 7:35 PM, John Tamplin<j...@google.com> wrote: > On Tue, Jul 7, 2009 at 9:12 PM, eighty <eightyste...@gmail.com> wrote: >> >> I'm having a strange issue with trunk (r5687, compiled with 32-bit >> Java 1.5) where hosted mode (launched from Eclipse 3.4 with 32-bit >> Java 1.5 via the Google Plugin) won't start on Mac OS X 10.5.7 (Intel >> Core 2 Duo 64-bit machine) with Safari 4.0.1 installed. Instead, the >> console displays the following error: >> >> "On Mac OS X, ensure that you have Safari 3 installed". >> >> The easiest way to reproduce the problem is to have Safari 4 >> installed, create a new web application project using the Google >> Plugin for Eclipse, and then try to launch it. >> >> This definitely isn't my area of expertise, but In LowLevelSaf.java on >> line 135, it seems that LowLevel.init() is throwing an >> UnsatisfiedLinkError: >> >> http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/mac/src/com/google/gwt/dev/shell/mac/LowLevelSaf.java > > Basically if it is throwing an exception there it is unable to load the > native library. If you can print the exception there it should show exactly > what library is failing to load (and perhaps why). > > -- > John A. Tamplin > Software Engineer (GWT), Google > > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---