Saturday, May 10, 2008

Leopard JDK 1.6 hates on GWT 1.4.62 (and .61)

I'm even running the unofficial GWT build for Tiger and Leopard, but tonight I tried to start working on a GWT project in Idea and got this error when I tried run my hosted mode browser:


Unable to load required native library 'gwt-ll'. Detailed error:
/local/java-libs/gwt-mac-1.4.62/libgwt-ll.jnilib: )

Your GWT installation may be corrupt
Exception in thread "main" java.lang.UnsatisfiedLinkError: Unable to load required native library 'gwt-ll'. Detailed error:
/local/java-libs/gwt-mac-1.4.62/libgwt-ll.jnilib: )

Your GWT installation may be corrupt
at com.google.gwt.dev.shell.LowLevel.init(LowLevel.java:107)
at com.google.gwt.dev.shell.mac.LowLevelSaf.init(LowLevelSaf.java:262)
at com.google.gwt.dev.BootStrapPlatform.go(BootStrapPlatform.java:29)
at com.google.gwt.dev.GWTShell.main(GWTShell.java:318)


I regenerated the project on the command line and tried running it again with the same results. It was working a few weeks ago, I swear.

After a bit of dorking around, I thought "Oooh. Java 1.6." In Idea, I switched my JDK back to 1.5 and voila! All was good.

No comments: